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:
parent
66317f9fcd
commit
beb18006da
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user