1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-26 16:12:54 +08:00

start at 1

This commit is contained in:
Shawdooow 2017-10-12 10:28:55 -04:00
parent cfb1804aa1
commit a0cb624c9d

View File

@ -139,9 +139,8 @@ namespace osu.Game.Rulesets.Osu.Objects
var repeatPointDistance = Math.Min(Distance, length);
var repeatDuration = length / Velocity;
for (var repeat = 0; repeat < RepeatCount; repeat++)
for (var repeat = 1; repeat < RepeatCount; repeat++)
{
if (repeat > 0)
for (var d = repeatPointDistance; d <= length; d += repeatPointDistance)
{
var repeatStartTime = StartTime + repeat * repeatDuration;