From 2770ccb78206bdfe346a1f5a607429871ffde0cc Mon Sep 17 00:00:00 2001 From: Huo Yaoyuan Date: Thu, 15 Jun 2017 23:25:13 +0800 Subject: [PATCH] Possible null fields. --- osu.Game/Users/User.cs | 2 +- osu.Game/Users/UserStatistics.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/osu.Game/Users/User.cs b/osu.Game/Users/User.cs index ffe18dcfdb..99484d8ef3 100644 --- a/osu.Game/Users/User.cs +++ b/osu.Game/Users/User.cs @@ -24,7 +24,7 @@ namespace osu.Game.Users public Bindable Status = new Bindable(); [JsonProperty(@"age")] - public int Age; + public int? Age; //public Team Team; diff --git a/osu.Game/Users/UserStatistics.cs b/osu.Game/Users/UserStatistics.cs index 22c5c5cbcc..7e3e5db983 100644 --- a/osu.Game/Users/UserStatistics.cs +++ b/osu.Game/Users/UserStatistics.cs @@ -20,7 +20,7 @@ namespace osu.Game.Users } [JsonProperty(@"pp")] - public decimal PP; + public decimal? PP; [JsonProperty(@"pp_rank")] public int Rank;