From 1b0e7e71452d77e569de0e79d78b890be046ebc6 Mon Sep 17 00:00:00 2001 From: EVAST9919 Date: Tue, 7 Nov 2017 03:44:21 +0300 Subject: [PATCH] Undo some useless changes --- osu.Game/Overlays/Profile/RankChart.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/osu.Game/Overlays/Profile/RankChart.cs b/osu.Game/Overlays/Profile/RankChart.cs index 873fcaa78a..0171988967 100644 --- a/osu.Game/Overlays/Profile/RankChart.cs +++ b/osu.Game/Overlays/Profile/RankChart.cs @@ -81,9 +81,9 @@ namespace osu.Game.Overlays.Profile private void updateRankTexts() { - rankText.Text = rankedDays > 0 ? $"#{user.Statistics.Rank:#,0}" : "no rank"; - performanceText.Text = rankedDays > 0 ? $"{user.Statistics.PP:#,0}pp" : string.Empty; - relativeText.Text = rankedDays > 0 ? $"{user.Country?.FullName} #{user.CountryRank:#,0}" : string.Empty; + rankText.Text = user.Statistics.Rank > 0 ? $"#{user.Statistics.Rank:#,0}" : "no rank"; + performanceText.Text = user.Statistics.PP != null ? $"{user.Statistics.PP:#,0}pp" : string.Empty; + relativeText.Text = $"{user.Country?.FullName} #{user.CountryRank:#,0}"; } private void showHistoryRankTexts(int dayIndex)