From 19968d19bf28307f0566784135ec6844785b27e1 Mon Sep 17 00:00:00 2001 From: Derek Stevens Date: Tue, 8 Jan 2019 20:58:01 -0800 Subject: [PATCH] 'if (quit) return;' in playScene() --- Scene.c | 1 + 1 file changed, 1 insertion(+) diff --git a/Scene.c b/Scene.c index 5aeb8bb..a2f459b 100644 --- a/Scene.c +++ b/Scene.c @@ -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++)