mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 17:43:05 +08:00
Fix possible null
This commit is contained in:
parent
f375db368f
commit
62daea195c
@ -20,6 +20,6 @@ namespace osu.Game.Users
|
||||
[JsonProperty(@"code")]
|
||||
public string FlagName;
|
||||
|
||||
public bool Equals(Country other) => FlagName == other.FlagName;
|
||||
public bool Equals(Country other) => FlagName == other?.FlagName;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user