We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ecab36 commit 130d205Copy full SHA for 130d205
src/umbra/engine.cpp
@@ -584,7 +584,7 @@ int UmbraEngine::run() {
584
585
SDL_AddEventWatch(onSDLEvent, this);
586
while (!TCODConsole::isWindowClosed()) {
587
- if (!onFrame()) break;
+ if (onFrame() != SDL_APP_CONTINUE) break;
588
}
589
SDL_RemoveEventWatch(onSDLEvent, this);
590
UmbraLog::closeBlock(UMBRA_LOGRESULT_SUCCESS);
0 commit comments