Правки по загрузке одиночной карты.

This commit is contained in:
Programmist73 2022-11-21 22:58:14 +04:00
parent cbf4ce8955
commit 9c340394fb

View File

@ -187,6 +187,7 @@ public class MapsCollection
var element = str.split(String.format("\\%c", separatorDict)); var element = str.split(String.format("\\%c", separatorDict));
AbstractMap map = null; AbstractMap map = null;
//добавление в коллекцию с устранением лишнего слова в названии
try { try {
switch (element[1]) { switch (element[1]) {
case "SimpleMap": case "SimpleMap":
@ -209,7 +210,7 @@ public class MapsCollection
map)); map));
_mapStorage.get(element[0]).LoadData(element[2].split(String.valueOf(separatorData))); _mapStorage.get(element[0]).LoadData(element[2].split(String.valueOf(separatorData)));
} catch (Exception ex) {} } catch (Exception ex) { }
} }
} }
catch (IOException e) catch (IOException e)