Allow quitting in menu

This commit is contained in:
twojstaryzdomu 2022-02-25 20:12:50 +01:00 committed by Gregory Montoir
parent 29936e8a44
commit 2ba3a3be99
1 changed files with 2 additions and 0 deletions

View File

@ -278,6 +278,8 @@ static void game_run(const char *data_path) {
do_demo_screen(); do_demo_screen();
} }
do_menu(); do_menu();
if (g_sys.input.quit)
break;
} }
uint8_t level_num; uint8_t level_num;
do { do {