mirror of
https://github.com/ppy/osu.git
synced 2024-09-22 09:27:34 +08:00
Fix approved maps not displaying pp column on score table
This commit is contained in:
parent
6cadbd48dc
commit
243605728d
@ -59,8 +59,10 @@ namespace osu.Game.Overlays.BeatmapSet.Scores
|
|||||||
|
|
||||||
var scoreInfos = value.Scores.Select(s => s.CreateScoreInfo(rulesets)).ToList();
|
var scoreInfos = value.Scores.Select(s => s.CreateScoreInfo(rulesets)).ToList();
|
||||||
var topScore = scoreInfos.First();
|
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();
|
scoreTable.Show();
|
||||||
|
|
||||||
var userScore = value.UserScore;
|
var userScore = value.UserScore;
|
||||||
|
Loading…
Reference in New Issue
Block a user