1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-13 11:12:54 +08:00

Fix wrong check

This commit is contained in:
Joehu 2019-04-30 21:54:25 -07:00
parent 1408513ebd
commit 9b2d5727cd

View File

@ -149,7 +149,7 @@ namespace osu.Game.Overlays.Profile.Header
scoreRankInfo.Value.RankCount = user?.Statistics?.GradesCount[scoreRankInfo.Key] ?? 0;
detailGlobalRank.Content = user?.Statistics?.Ranks.Global != null ? $"#{user?.Statistics?.Ranks.Global?.ToString("#,##0")}" : "-";
detailCountryRank.Content = user?.Statistics?.Ranks.Global != null ? $"#{user?.Statistics?.Ranks.Country?.ToString("#,##0")}" : "-";
detailCountryRank.Content = user?.Statistics?.Ranks.Country != null ? $"#{user?.Statistics?.Ranks.Country?.ToString("#,##0")}" : "-";
rankGraph.User.Value = user;
}