mirror of
https://github.com/kichikuou/xsystem35-sdl2.git
synced 2026-10-02 19:58:07 +03:00
Quit immediately when window is closed
Fix issue where closing the window doesn't immediately quit if the game is waiting for input.
This commit is contained in:
+3
-1
@@ -218,7 +218,9 @@ static void nact_callback() {
|
||||
}
|
||||
if (nact->popupmenu_opened) {
|
||||
menu_gtkmainiteration();
|
||||
if (nact->is_quit) sys_exit(0);
|
||||
}
|
||||
if (nact->is_quit) {
|
||||
sys_exit(0);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user