mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Fix possible NaN accuracy
This commit is contained in:
@ -225,7 +225,8 @@ namespace osu.Game.Rulesets.Scoring
|
||||
if (judgement.AffectsAccuracy)
|
||||
Hits++;
|
||||
|
||||
Accuracy.Value = comboScore / rollingMaxComboScore;
|
||||
if (rollingMaxComboScore != 0)
|
||||
Accuracy.Value = comboScore / rollingMaxComboScore;
|
||||
|
||||
switch (Mode.Value)
|
||||
{
|
||||
|
Reference in New Issue
Block a user