From 1fd4fbb5a0728d3eab49b0f84798c6daf9ec8f44 Mon Sep 17 00:00:00 2001 From: quou Date: Sun, 25 Aug 2024 15:48:42 +1000 Subject: fix exit --- 3de.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/3de.c b/3de.c index 94dceac..66d5dfa 100644 --- a/3de.c +++ b/3de.c @@ -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); -- cgit v1.2.3-54-g00ecf