1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 14:32:55 +08:00

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.
This commit is contained in:
smoogipoo 2017-12-27 20:40:38 +09:00
parent c18fd5da48
commit 1a5cf98e0c

View File

@ -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,