mirror of
https://github.com/ppy/osu.git
synced 2025-03-05 13:42:59 +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)
|
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;
|
return 0;
|
||||||
|
|
||||||
var osuCurrObj = (OsuDifficultyHitObject)current;
|
var osuCurrObj = (OsuDifficultyHitObject)current;
|
||||||
|
Loading…
Reference in New Issue
Block a user