From: Holger Schemel Date: Tue, 14 Jun 2022 22:34:53 +0000 (+0200) Subject: fixed bug with short reactivation of overlay buttons while closing door X-Git-Tag: 4.3.2.2~3 X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=commitdiff_plain;h=1d00f4f75136458f4ac891dd89dceed9b50c57a8 fixed bug with short reactivation of overlay buttons while closing door --- diff --git a/src/game.c b/src/game.c index 259d19b6..3985ce1b 100644 --- a/src/game.c +++ b/src/game.c @@ -15692,6 +15692,7 @@ void RequestQuitGameExt(boolean skip_request, boolean quick_quit, char *message) { // prevent short reactivation of overlay buttons while closing door SetOverlayActive(FALSE); + UnmapGameButtons(); // door may still be open due to skipped or envelope style request CloseDoor(score_info_tape_play ? DOOR_CLOSE_ALL : DOOR_CLOSE_1);