Fix login failure for users with no country rank

Closes #2148.
This commit is contained in:
Dean Herbert
2018-03-11 00:44:00 +09:00
parent a9327eac8f
commit 9233266fe1
4 changed files with 19 additions and 10 deletions

View File

@ -73,10 +73,10 @@ namespace osu.Game.Users
public struct UserRanks
{
[JsonProperty(@"global")]
public int Global;
public int? Global;
[JsonProperty(@"country")]
public int Country;
public int? Country;
}
}