From 7439c26b67f881731de8e75b5cb266d04318b740 Mon Sep 17 00:00:00 2001 From: Luke Street Date: Thu, 3 Apr 2025 23:16:53 -0600 Subject: [PATCH] Fix game quit --- Runtime/CMain.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Runtime/CMain.cpp b/Runtime/CMain.cpp index 728825a3f..469a868d8 100644 --- a/Runtime/CMain.cpp +++ b/Runtime/CMain.cpp @@ -599,7 +599,9 @@ int main(int argc, char** argv) { if (!aurora_begin_frame()) { continue; } - g_app->onAppIdle(1.f / 60.f /* TODO */); + if (!g_app->onAppIdle(1.f / 60.f /* TODO */)) { + break; + } g_app->onAppDraw(); aurora_end_frame(); g_app->onAppPostDraw();