fixed bug with not closing game panel after envelope request for restart
authorHolger Schemel <info@artsoft.org>
Wed, 16 Dec 2020 18:08:26 +0000 (19:08 +0100)
committerHolger Schemel <info@artsoft.org>
Wed, 16 Dec 2020 18:08:26 +0000 (19:08 +0100)
src/game.c

index c6a7ef73146a7cf1bd90b59121cbf0856b802189..b39383fdd3cbcb0d789e1f97ca213454de3db429 100644 (file)
@@ -15252,6 +15252,9 @@ void RequestRestartGame(char *message)
   }
   else
   {
+    // needed in case of envelope request to close game panel
+    CloseDoor(DOOR_CLOSE_1);
+
     SetGameStatus(GAME_MODE_MAIN);
 
     DrawMainMenu();