1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 13:37:25 +08:00

Award max combo portion score if max achievable is 0

This commit is contained in:
Endrik Tombak 2020-10-07 17:04:55 +03:00
parent 74af7cc503
commit 2b6e4e575e

View File

@ -197,7 +197,7 @@ namespace osu.Game.Rulesets.Scoring
{
return GetScore(mode, maxHighestCombo,
maxBaseScore > 0 ? baseScore / maxBaseScore : 0,
maxHighestCombo > 0 ? (double)HighestCombo.Value / maxHighestCombo : 0,
maxHighestCombo > 0 ? (double)HighestCombo.Value / maxHighestCombo : 1,
scoreResultCounts);
}