Update to support newer return structure from osu-web API

This commit is contained in:
Dean Herbert
2017-09-14 18:08:12 +09:00
parent 307a709e6b
commit 7cd6caacaa
3 changed files with 8 additions and 26 deletions

View File

@ -70,7 +70,7 @@ namespace osu.Game.Overlays.Profile
}
};
ranks = user.AllRankHistories?.Osu?.Data ?? new[] { user.Statistics.Rank };
ranks = user.RankHistory?.Data ?? new[] { user.Statistics.Rank };
}
private void updateRankTexts()