данчик
This commit is contained in:
parent
1b5742017b
commit
6c5adf2186
@ -177,9 +177,9 @@ public class StorageCollection<T>
|
||||
string[] set = record[3].Split(_separatorItems, StringSplitOptions.RemoveEmptyEntries);
|
||||
foreach (string elem in set)
|
||||
{
|
||||
if (elem?.CreateDrawningTruck() is T warship)
|
||||
if (elem?.CreateDrawningTruck() is T truck)
|
||||
{
|
||||
if (collection.Insert(warship) == -1)
|
||||
if (collection.Insert(truck) == -1)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user