From: Holger Schemel Date: Tue, 11 Dec 2018 20:58:24 +0000 (+0100) Subject: fixed short reactivation of overlay buttons while closing door after game X-Git-Tag: 4.1.2.0~81 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=64f0d273ab910b98d1c929bad3146aeccfd6468a;p=rocksndiamonds.git fixed short reactivation of overlay buttons while closing door after game --- diff --git a/src/game.c b/src/game.c index 3a3b10e6..d517cdc0 100644 --- a/src/game.c +++ b/src/game.c @@ -14973,7 +14973,12 @@ void RequestQuitGameExt(boolean skip_request, boolean quick_quit, char *message) { // closing door required in case of envelope style request dialogs if (!skip_request) + { + // prevent short reactivation of overlay buttons while closing door + SetOverlayActive(FALSE); + CloseDoor(DOOR_CLOSE_1); + } if (network.enabled) SendToServer_StopPlaying(NETWORK_STOP_BY_PLAYER);