add EXIT_WHEN_DONE = false

This commit is contained in:
sam-astro 2022-05-27 08:24:56 -04:00 committed by GitHub
parent 33805294d3
commit 438f366ba4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,6 +16,8 @@ bool aiOn = false
// so if you never call ZS.Graphics.Init, then Start won't run
func Main()
{
EXIT_WHEN_DONE = false
// Immediately creates the window, then Start(), then the game loop. The game loop calls Update() every frame
ZS.Graphics.Init("This is a pong game", SCREENW, SCREENH)
}