mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 14:46:38 +09:00
Fix unconditional null in Equals
implementation
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user