mirror of https://github.com/ppy/osu
Fix inverted ternary
See #1935 - repeat index 1 is at the end of the slider, not the start.
This commit is contained in:
parent
46ba2cda10
commit
6908597b95
|
@ -72,6 +72,6 @@ protected override void UpdateCurrentState(ArmedState state)
|
|||
}
|
||||
}
|
||||
|
||||
public void UpdateSnakingPosition(Vector2 start, Vector2 end) => Position = repeatPoint.RepeatIndex % 2 == 1 ? start : end;
|
||||
public void UpdateSnakingPosition(Vector2 start, Vector2 end) => Position = repeatPoint.RepeatIndex % 2 == 1 ? end : start;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue