mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 18:32:56 +08:00
Fix unconditional null in Equals
implementation
This commit is contained in:
parent
c867068cae
commit
512536f5fe
@ -64,7 +64,7 @@ namespace osu.Game.Online.Chat
|
||||
if (ReferenceEquals(null, other)) return false;
|
||||
if (ReferenceEquals(this, other)) return true;
|
||||
|
||||
return Id.HasValue && Id == other?.Id;
|
||||
return Id.HasValue && Id == other.Id;
|
||||
}
|
||||
|
||||
// ReSharper disable once ImpureMethodCallOnReadonlyValueField
|
||||
|
Loading…
Reference in New Issue
Block a user