fixed bug with not updating game panel when leaving invisible warp mode
[rocksndiamonds.git] / src / screens.c
index d596e2674eaa13c9ce9265d0b6562b4b04cc9b51..8af84590b36f2a9325874e90a7aa471fa55927ba 100644 (file)
@@ -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);