finally fixed small door request bug in level editor
[rocksndiamonds.git] / src / editor.c
index f39eb4e4ca4cdd4646ebb97b7dc07b583cb62fbe..e8bc4e2082506f97c110c19c1ef37fa74081eea5 100644 (file)
@@ -11869,6 +11869,10 @@ void RequestExitLevelEditor(boolean ask_if_level_has_changed,
   }
   else
   {
-    OpenDoor(DOOR_OPEN_1 | DOOR_COPY_BACK);
+    if (!global.use_envelope_request)
+    {
+      CloseDoor(DOOR_CLOSE_1);
+      OpenDoor(DOOR_OPEN_1 | DOOR_COPY_BACK);
+    }
   }
 }