mirror of
https://github.com/ppy/osu
synced 2024-12-14 19:06:07 +00:00
Fix possible NaN accuracy
This commit is contained in:
parent
3386dbb243
commit
3619f7c1eb
@ -225,6 +225,7 @@ namespace osu.Game.Rulesets.Scoring
|
||||
if (judgement.AffectsAccuracy)
|
||||
Hits++;
|
||||
|
||||
if (rollingMaxComboScore != 0)
|
||||
Accuracy.Value = comboScore / rollingMaxComboScore;
|
||||
|
||||
switch (Mode.Value)
|
||||
|
Loading…
Reference in New Issue
Block a user