From: DeaDDooMER Date: Mon, 22 May 2023 13:31:41 +0000 (+0300) Subject: map: fix sky loading while import ini map X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=49bf303eb602fb5ebb7625571d62ad52d42ec585;p=d2df-editor.git map: fix sky loading while import ini map --- diff --git a/src/editor/g_map.pas b/src/editor/g_map.pas index b74a403..10160e4 100644 --- a/src/editor/g_map.pas +++ b/src/editor/g_map.pas @@ -1912,6 +1912,8 @@ begin SetLength(Description, 256); end; + LoadSky(gMapInfo.SkyName); + map.Free(); Result := True;