From d6aa2fe6e48e5804bca01c9be29debdaadd884fb Mon Sep 17 00:00:00 2001 From: Xexxar Date: Thu, 21 Oct 2021 17:21:34 +0000 Subject: [PATCH] identified case with spinner where / 0 could theoretically be possible --- osu.Game.Rulesets.Osu/Difficulty/Skills/Aim.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osu.Game.Rulesets.Osu/Difficulty/Skills/Aim.cs b/osu.Game.Rulesets.Osu/Difficulty/Skills/Aim.cs index 966e7eb221..94f02c2d9f 100644 --- a/osu.Game.Rulesets.Osu/Difficulty/Skills/Aim.cs +++ b/osu.Game.Rulesets.Osu/Difficulty/Skills/Aim.cs @@ -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;