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++)