Весной первым делом расцвел АвтоВАЗ
This commit is contained in:
parent
1611aaf94c
commit
e609ddf465
@ -17,7 +17,7 @@ namespace AirBomber
|
||||
}
|
||||
public bool Equals(PlanesCollectionInfo? other)
|
||||
{
|
||||
if (other == null)
|
||||
if (other == null || other.Name == null)
|
||||
throw new ArgumentNullException(nameof(other));
|
||||
return Name == other.Name;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user