mirror of
https://github.com/ppy/osu
synced 2024-12-14 02:46:27 +00:00
Fix unintentional truncation
This commit is contained in:
parent
44ca350822
commit
d6d56ee22d
@ -353,7 +353,7 @@ namespace osu.Game.Rulesets.Scoring
|
||||
public double ComputeScore(ScoringMode mode, ScoringValues current, ScoringValues maximum)
|
||||
{
|
||||
double accuracyRatio = maximum.BaseScore > 0 ? current.BaseScore / maximum.BaseScore : 1;
|
||||
double comboRatio = maximum.MaxCombo > 0 ? current.MaxCombo / maximum.MaxCombo : 1;
|
||||
double comboRatio = maximum.MaxCombo > 0 ? (double)current.MaxCombo / maximum.MaxCombo : 1;
|
||||
return ComputeScore(mode, accuracyRatio, comboRatio, current.BonusScore, maximum.HitObjects);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user