fixed bug with short reactivation of overlay buttons while closing door
authorHolger Schemel <info@artsoft.org>
Tue, 14 Jun 2022 22:34:53 +0000 (00:34 +0200)
committerHolger Schemel <info@artsoft.org>
Tue, 14 Jun 2022 22:34:53 +0000 (00:34 +0200)
src/game.c

index 259d19b6c54f858bee6ca6701bd6ce5b64ec94fd..3985ce1b47564ae57618bd167260cb80bc41a71b 100644 (file)
@@ -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);