This commit is contained in:
Кашин Максим 2022-12-14 09:50:55 +04:00
parent b126dd0068
commit 0791c5f4f3

View File

@ -139,11 +139,11 @@ public class MapsCollection {
case "LongMap" -> new MapWithSetGasolineTankerGeneric<>(_pictureWidth, _pictureHeight, new LongMap()); case "LongMap" -> new MapWithSetGasolineTankerGeneric<>(_pictureWidth, _pictureHeight, new LongMap());
default -> null; default -> null;
}; };
_mapStorages.put(mapName, map);
} }
while ((currentLine = reader.readLine()) != null) { while ((currentLine = reader.readLine()) != null) {
map._setGasolineTanker.Insert((DrawingObjectGasolineTanker) DrawingObjectGasolineTanker.Create(currentLine)); map._setGasolineTanker.Insert((DrawingObjectGasolineTanker) DrawingObjectGasolineTanker.Create(currentLine));
} }
_mapStorages.put(mapName, map);
} }
return true; return true;
} }