diff --git a/WinFormsAppExcavator/WinFormsAppExcavator/CollectionGenericObjects/StorageCollection.cs b/WinFormsAppExcavator/WinFormsAppExcavator/CollectionGenericObjects/StorageCollection.cs index 8c850f3..806a234 100644 --- a/WinFormsAppExcavator/WinFormsAppExcavator/CollectionGenericObjects/StorageCollection.cs +++ b/WinFormsAppExcavator/WinFormsAppExcavator/CollectionGenericObjects/StorageCollection.cs @@ -179,7 +179,7 @@ public class StorageCollection { try { - if (collection.Insert(ship) == -1) + if (collection.Insert(excavator) == -1) { throw new Exception("Объект не удалось добавить в коллекцию: " + record[3]); }