1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-24 09:37:19 +08:00

Use new ScoreManager method in ScoreTable

This commit is contained in:
smoogipoo 2021-08-30 19:34:12 +09:00
parent d03950fb37
commit 458ce250f0
2 changed files with 3 additions and 3 deletions

View File

@ -151,8 +151,8 @@ namespace osu.Game.Overlays.BeatmapSet.Scores
new OsuSpriteText
{
Margin = new MarginPadding { Right = horizontal_inset },
Current = scoreManager.GetBindableTotalScoreString(score),
Font = OsuFont.GetFont(size: text_size, weight: index == 0 ? FontWeight.Bold : FontWeight.Medium)
Font = OsuFont.GetFont(size: text_size, weight: index == 0 ? FontWeight.Bold : FontWeight.Medium),
Text = scoreManager.GetTotalScore(score).ToLocalisableString(@"N0"),
},
new OsuSpriteText
{

View File

@ -260,7 +260,7 @@ namespace osu.Game.Overlays.BeatmapSet.Scores
}
var scoreInfos = newScores.Scores.Select(s => s.CreateScoreInfo(rulesets))
.OrderByDescending(s => scoreManager.GetBindableTotalScore(s).Value)
.OrderByDescending(s => scoreManager.GetTotalScore(s))
.ToList();
var topScore = scoreInfos.First();