From ce1cfff5501b713e64f633fd97cb013847e334e1 Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Sat, 9 Nov 2024 14:51:40 +0100 Subject: [PATCH] fixed bug when escaping from level info screen on game start --- src/screens.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/screens.c b/src/screens.c index 19d086e4..3f55035d 100644 --- a/src/screens.c +++ b/src/screens.c @@ -4414,7 +4414,10 @@ void HandleInfoScreen_Generic(int mx, int my, int dx, int dy, int button) // if escaping from level info screen on game start, go back to main menu if (info_screens_from_game) + { info_screens_from_main = TRUE; + info_screens_from_game = FALSE; + } info_mode = INFO_MODE_MAIN; DrawInfoScreen(); -- 2.34.1