1
0
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:
Andrei Zavatski 2019-12-01 04:09:45 +03:00
parent f375db368f
commit 62daea195c

View File

@ -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;
}
}