mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Use Unknown
instead of default
This commit is contained in:
@ -18,7 +18,7 @@ namespace osu.Game.Models
|
||||
[Ignored]
|
||||
public CountryCode CountryCode
|
||||
{
|
||||
get => Enum.TryParse(CountryString, out CountryCode country) ? country : default;
|
||||
get => Enum.TryParse(CountryString, out CountryCode country) ? country : CountryCode.Unknown;
|
||||
set => CountryString = value.ToString();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user