mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 02:02:53 +08:00
Ensure a negative value cannot be added to angleRepeatCount
This commit is contained in:
parent
08cb70b093
commit
5082ee26cf
@ -84,7 +84,7 @@ namespace osu.Game.Rulesets.Osu.Difficulty.Evaluators
|
||||
|
||||
// Objects further back in time should count less for the nerf.
|
||||
if (roundedAngle == initialRoundedAngle)
|
||||
angleRepeatCount += 1.0 - 0.1 * i;
|
||||
angleRepeatCount += Math.Max(1.0 - 0.1 * i, 0.0);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user