mirror of https://github.com/ppy/osu
Fix incorrect math
This commit is contained in:
parent
065d2a4887
commit
1a83770a06
|
@ -73,6 +73,6 @@ protected override void UpdateCurrentState(ArmedState state)
|
|||
}
|
||||
}
|
||||
|
||||
public void UpdateSnakingPosition(Vector2 start, Vector2 end) => Position = repeatPoint.RepeatIndex / 2 == 0 ? end : start;
|
||||
public void UpdateSnakingPosition(Vector2 start, Vector2 end) => Position = repeatPoint.RepeatIndex % 2 == 1 ? start : end;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue