diff --git a/AirBomber/AirBomber/WarAirplaneGenericStorage.cs b/AirBomber/AirBomber/WarAirplaneGenericStorage.cs index c3c21eb..12c660c 100644 --- a/AirBomber/AirBomber/WarAirplaneGenericStorage.cs +++ b/AirBomber/AirBomber/WarAirplaneGenericStorage.cs @@ -23,6 +23,10 @@ namespace AirBomber.Generics } public void AddSet(string name) { + if (_warAirplaneStorages.ContainsKey(name)) + { + return; + } _warAirplaneStorages.Add(name, new WarAirplaneGenericCollection(_pictureWidth, _pictureHeight)); } public void DelSet(string name)