Changes: AddSet check

This commit is contained in:
Efi 2023-12-22 12:03:14 +04:00
parent ecb55016e8
commit 970ee90862

View File

@ -23,6 +23,10 @@ namespace AirBomber.Generics
}
public void AddSet(string name)
{
if (_warAirplaneStorages.ContainsKey(name))
{
return;
}
_warAirplaneStorages.Add(name, new WarAirplaneGenericCollection<DrawingWarAirplane, DrawingObjectWarAirplane>(_pictureWidth, _pictureHeight));
}
public void DelSet(string name)