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:
parent
a3806f44a5
commit
d27ee2c9fb
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user