1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 06:57:39 +08:00

Correctly account for max combo of the input, rather than the global

This commit is contained in:
Dean Herbert 2020-12-17 16:05:41 +09:00
parent cc3dddf59f
commit f13683dc90

View File

@ -253,7 +253,7 @@ namespace osu.Game.Rulesets.Scoring
}
double accuracy = maxBaseScore > 0 ? computedBaseScore / maxBaseScore : 0;
double comboRatio = maxAchievableCombo > 0 ? (double)HighestCombo.Value / maxAchievableCombo : 1;
double comboRatio = maxAchievableCombo > 0 ? (double)maxCombo / maxAchievableCombo : 1;
double score = GetScore(mode, maxAchievableCombo, accuracy, comboRatio, scoreResultCounts);