изменен метод AddMap
This commit is contained in:
parent
e0e3cfa6b3
commit
fffcadc352
@ -48,7 +48,7 @@ namespace AirBomber
|
||||
/// <param name="map">Карта</param>
|
||||
public void AddMap(string name, AbstractMap map)
|
||||
{
|
||||
_mapStorages.Add(name, new(_pictureWidth, _pictureHeight, map));
|
||||
_mapStorages[name] = new(_pictureWidth, _pictureHeight, map);
|
||||
}
|
||||
/// <summary>
|
||||
/// Удаление карты
|
||||
|
Loading…
x
Reference in New Issue
Block a user