From 1d00f4f75136458f4ac891dd89dceed9b50c57a8 Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Wed, 15 Jun 2022 00:34:53 +0200 Subject: [PATCH] fixed bug with short reactivation of overlay buttons while closing door --- src/game.c | 1 + 1 file changed, 1 insertion(+) 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); -- 2.34.1