fix first tick after repeat being ignored

This commit is contained in:
yugecin 2016-12-10 02:08:37 +01:00
parent ffd1a57755
commit 5657290abf

View File

@ -508,8 +508,8 @@ public class Slider implements GameObject {
float t = getT(trackPosition, true);
if (Math.floor(t) > currentRepeats) {
currentRepeats++;
tickIntervals++;
isNewRepeat = true;
tickIndex = 0;
}
}