diff options
-rw-r--r-- | 3de.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -133,7 +133,7 @@ int entrypoint(int argc, const char** argv, Arena* a) { init_map(map); while (app->o) { fps_begin(&f); - while (f.now >= f.next) { + while (f.now >= f.next && app->o) { app_begin(app); init_arena(&gui_arena, gui_mem, gui_memory_size); gui_begin(&g, app, &gui_arena); |