Fix instant spinners giving insane amounts of strain

This commit is contained in:
StanR
2021-10-09 12:35:17 +03:00
parent 17e0498860
commit b72b071c25

View File

@ -69,6 +69,8 @@ namespace osu.Game.Rulesets.Osu.Difficulty.Preprocessing
TravelDistance = lastSlider.LazyTravelDistance * scalingFactor;
}
if (!(lastObject is Spinner))
{
Vector2 lastCursorPosition = getEndCursorPosition(lastObject);
// Don't need to jump to reach spinners
@ -88,6 +90,7 @@ namespace osu.Game.Rulesets.Osu.Difficulty.Preprocessing
Angle = Math.Abs(Math.Atan2(det, dot));
}
}
}
private void computeSliderCursorPosition(Slider slider)
{