summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorquou <quou@disroot.org>2024-08-25 15:48:42 +1000
committerquou <quou@disroot.org>2024-08-25 15:48:42 +1000
commit1fd4fbb5a0728d3eab49b0f84798c6daf9ec8f44 (patch)
treebe26ac32fcb09f4aa8d577c48cfbe7dae8aa6f98
parent86d5a546b4eab47b991a0acc4ab444c725feb081 (diff)
fix exitHEADmaster
-rw-r--r--3de.c2
1 files changed, 1 insertions, 1 deletions
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);