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:
Nunuhara Cabbage
2019-07-19 17:52:13 -07:00
parent ac85bed1de
commit cd2b164951
+3 -1
View File
@@ -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);
}
}