1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 10:12:54 +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; beatmapMaxCombo = score.BeatmapInfo.MaxCombo.Value;
else else
{ {
if (!score.BeatmapInfo.IsManaged || difficulties == null) if (difficulties == null)
{
// We don't have enough information (max combo) to compute the score, so use the provided score.
return score.TotalScore; return score.TotalScore;
}
// We can compute the max combo locally after the async beatmap difficulty computation. // 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); var difficulty = await difficulties().GetDifficultyAsync(score.BeatmapInfo, score.Ruleset, score.Mods, cancellationToken).ConfigureAwait(false);