mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 14:32:55 +08:00
identified case with spinner where / 0 could theoretically be possible
This commit is contained in:
parent
cb605f9156
commit
d6aa2fe6e4
@ -32,7 +32,7 @@ namespace osu.Game.Rulesets.Osu.Difficulty.Skills
|
||||
|
||||
private double strainValueOf(DifficultyHitObject current)
|
||||
{
|
||||
if (current.BaseObject is Spinner || Previous.Count <= 1)
|
||||
if (current.BaseObject is Spinner || Previous.Count <= 1 || Previous[0].BaseObject is Spinner)
|
||||
return 0;
|
||||
|
||||
var osuCurrObj = (OsuDifficultyHitObject)current;
|
||||
|
Loading…
Reference in New Issue
Block a user