fixed bug when escaping from level info screen on game start
authorHolger Schemel <holger.schemel@virtion.de>
Sat, 9 Nov 2024 13:51:40 +0000 (14:51 +0100)
committerHolger Schemel <holger.schemel@virtion.de>
Sat, 9 Nov 2024 13:51:42 +0000 (14:51 +0100)
src/screens.c

index 19d086e4a7a961f17b19c91167e51f806aa67941..3f55035d3eb091ce878a9d8fadf4306ae03bcf35 100644 (file)
@@ -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();