Move max score calculation inside ScoreProcessor

This commit is contained in:
smoogipoo
2020-09-09 16:51:53 +09:00
parent 117c7ec6b2
commit e271408fca
2 changed files with 5 additions and 8 deletions

View File

@ -154,10 +154,7 @@ namespace osu.Game.Scoring
scoreProcessor.Mods.Value = score.Mods;
double maxBaseScore = 300 * beatmapMaxCombo;
double maxHighestCombo = beatmapMaxCombo;
Value = (long)Math.Round(scoreProcessor.GetScore(ScoringMode.Value, maxBaseScore, maxHighestCombo, score.Accuracy, score.MaxCombo / maxHighestCombo, 0));
Value = (long)Math.Round(scoreProcessor.GetScore(ScoringMode.Value, beatmapMaxCombo, score.Accuracy, (double)score.MaxCombo / beatmapMaxCombo, 0));
}
}