From 2ba3a3be99a10d5f71667e341faa105e22e43b66 Mon Sep 17 00:00:00 2001 From: twojstaryzdomu Date: Fri, 25 Feb 2022 20:12:50 +0100 Subject: [PATCH] Allow quitting in menu --- p2/game.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/p2/game.c b/p2/game.c index 71628ac..1daa666 100644 --- a/p2/game.c +++ b/p2/game.c @@ -278,6 +278,8 @@ static void game_run(const char *data_path) { do_demo_screen(); } do_menu(); + if (g_sys.input.quit) + break; } uint8_t level_num; do {