1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 06:57:39 +08:00

Fix approved maps not displaying pp column on score table

This commit is contained in:
Joseph Madamba 2021-04-28 11:44:05 -07:00
parent 6cadbd48dc
commit 243605728d

View File

@ -59,8 +59,10 @@ namespace osu.Game.Overlays.BeatmapSet.Scores
var scoreInfos = value.Scores.Select(s => s.CreateScoreInfo(rulesets)).ToList();
var topScore = scoreInfos.First();
var status = topScore.Beatmap?.Status;
var showPerformanceColumn = status == BeatmapSetOnlineStatus.Ranked || status == BeatmapSetOnlineStatus.Approved;
scoreTable.DisplayScores(scoreInfos, topScore.Beatmap?.Status == BeatmapSetOnlineStatus.Ranked);
scoreTable.DisplayScores(scoreInfos, showPerformanceColumn);
scoreTable.Show();
var userScore = value.UserScore;