1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-08 17:54:18 +08:00
This commit is contained in:
Dan Balasescu
2025-02-27 13:16:51 +09:00
Unverified
parent c2875423ee
commit d3c4afe65d
@@ -71,7 +71,7 @@ namespace osu.Game.Screens.Ranking.Expanded
StarDifficulty starDifficulty = new StarDifficulty(beatmap.StarRating, 0);
// In some cases, the beatmap ferried through ScoreInfo actually represents an online beatmap.
// If it isn't, we may be able to compute a more accuracy difficulty from the ruleset and mods.
// If it isn't, we may be able to compute a more accurate difficulty from the ruleset and mods.
if (realmAccess.Run(r => r.Find<BeatmapInfo>(score.BeatmapInfo!.ID)) != null)
starDifficulty = beatmapDifficultyCache.GetDifficultyAsync(score.BeatmapInfo!, score.Ruleset, score.Mods).GetResultSafely() ?? starDifficulty;