DEADSOFTWARE

Main: Load empty sky on full clear
authorbinarymaster <x86corez@gmail.com>
Mon, 25 Sep 2017 14:30:17 +0000 (17:30 +0300)
committerbinarymaster <x86corez@gmail.com>
Mon, 25 Sep 2017 14:30:17 +0000 (17:30 +0300)
src/editor/f_main.pas

index 061e916d2f490781327162979ad7a5c8b329df6d..a87747362f596fca53cb69bac2bb2c58b5b59b29 100644 (file)
@@ -1795,6 +1795,7 @@ procedure FullClear();
 begin
   RemoveSelectFromObjects();
   ClearMap();
+  LoadSky(gMapInfo.SkyName);
   UndoBuffer := nil;
   slInvalidTextures.Clear();
   MapCheckForm.lbErrorList.Clear();