From: Holger Schemel Date: Wed, 16 Dec 2020 18:08:26 +0000 (+0100) Subject: fixed bug with not closing game panel after envelope request for restart X-Git-Tag: 4.2.2.0~18 X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=commitdiff_plain;h=020b38ef4e6b4adcb7c0755366e3ba5adf1180dc fixed bug with not closing game panel after envelope request for restart --- diff --git a/src/game.c b/src/game.c index c6a7ef73..b39383fd 100644 --- a/src/game.c +++ b/src/game.c @@ -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();