From 1a5cf98e0c51e13f15ac826878eca260d7db7fce Mon Sep 17 00:00:00 2001 From: smoogipoo Date: Wed, 27 Dec 2017 20:40:38 +0900 Subject: [PATCH] Fix repeat points always being placed at end position of th slider PositionAt is clamped to [0, 1] where 0 denotes the beginning of the curve and 1 denotes the end of the curve. It has no concept of repeats. --- osu.Game.Rulesets.Osu/Objects/Slider.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osu.Game.Rulesets.Osu/Objects/Slider.cs b/osu.Game.Rulesets.Osu/Objects/Slider.cs index bfb7801532..ec51a10345 100644 --- a/osu.Game.Rulesets.Osu/Objects/Slider.cs +++ b/osu.Game.Rulesets.Osu/Objects/Slider.cs @@ -161,7 +161,7 @@ namespace osu.Game.Rulesets.Osu.Objects { RepeatIndex = repeat, StartTime = repeatStartTime, - Position = Curve.PositionAt(repeat), + Position = Curve.PositionAt(repeat % 2), StackHeight = StackHeight, Scale = Scale, ComboColour = ComboColour,