1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 23:27:25 +08:00

Remove incorrect IsManaged check in ScoreManager

This commit is contained in:
Dean Herbert 2022-01-17 13:37:42 +09:00
parent a3806f44a5
commit d27ee2c9fb

View File

@ -159,11 +159,8 @@ namespace osu.Game.Scoring
beatmapMaxCombo = score.BeatmapInfo.MaxCombo.Value;
else
{
if (!score.BeatmapInfo.IsManaged || difficulties == null)
{
// We don't have enough information (max combo) to compute the score, so use the provided score.
if (difficulties == null)
return score.TotalScore;
}
// We can compute the max combo locally after the async beatmap difficulty computation.
var difficulty = await difficulties().GetDifficultyAsync(score.BeatmapInfo, score.Ruleset, score.Mods, cancellationToken).ConfigureAwait(false);