'if (quit) return;' in playScene()

This commit is contained in:
Iris Lightshard 2019-01-08 20:58:01 -08:00
parent 1c0b1250bb
commit 19968d19bf
Signed by: Iris Lightshard
GPG key ID: 3B7FBC22144E6398

View file

@ -125,6 +125,7 @@ void playScene(Scene* self)
for (i = 0; i < self->time; i++)
{
if (quit) return;
timeStart(fps);
sceneInput(self, &i);
for (j = 0; j < self->nSprites; j++)