Skip to content

Commit

Permalink
Use Unknown instead of default
Browse files Browse the repository at this point in the history
  • Loading branch information
peppy committed Jul 18, 2022
1 parent 51f91fe commit 1e151ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osu.Game/Models/RealmUser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class RealmUser : EmbeddedObject, IUser, IEquatable<RealmUser>, IDeepClon
[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();
}

Expand Down

0 comments on commit 1e151ba

Please sign in to comment.