From: Holger Schemel Date: Fri, 8 Jan 2021 16:14:52 +0000 (+0100) Subject: improved door handling when entering level editor with read-only warning X-Git-Tag: 4.2.2.1~4 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=f0b6478bb680e2d2dc3369eefc9173b9656f7c0b;p=rocksndiamonds.git improved door handling when entering level editor with read-only warning --- diff --git a/src/screens.c b/src/screens.c index d596e267..8af84590 100644 --- a/src/screens.c +++ b/src/screens.c @@ -2169,9 +2169,9 @@ void HandleMainMenu(int mx, int my, int dx, int dy, int button) { if (leveldir_current->readonly && setup.editor.show_read_only_warning) - Request("This level is read-only!", REQ_CONFIRM); + Request("This level is read-only!", REQ_CONFIRM | REQ_STAY_OPEN); - CloseDoor(DOOR_CLOSE_2); + CloseDoor(DOOR_CLOSE_ALL); SetGameStatus(GAME_MODE_EDITOR);