1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-21 20:33:01 +08:00

Show 0 pp if map is loved

This commit is contained in:
TheWildTree 2020-02-19 20:18:02 +01:00
parent 66317f9fcd
commit beb18006da
2 changed files with 2 additions and 2 deletions

View File

@ -154,7 +154,7 @@ namespace osu.Game.Overlays.BeatmapSet.Scores
{
new OsuSpriteText
{
Text = $@"{score.PP:N0}",
Text = $@"{score.PP ?? 0:N0}",
Font = OsuFont.GetFont(size: text_size)
},
new FillFlowContainer

View File

@ -96,7 +96,7 @@ namespace osu.Game.Overlays.BeatmapSet.Scores
totalScoreColumn.Text = $@"{value.TotalScore:N0}";
accuracyColumn.Text = value.DisplayAccuracy;
maxComboColumn.Text = $@"{value.MaxCombo:N0}x";
ppColumn.Text = $@"{value.PP:N0}";
ppColumn.Text = $@"{value.PP ?? 0:N0}";
statisticsColumns.ChildrenEnumerable = value.SortedStatistics.Select(kvp => createStatisticsColumn(kvp.Key, kvp.Value));
modsColumn.Mods = value.Mods;