fix first slidertick after repeats not working

This commit is contained in:
yugecin 2016-11-18 01:09:04 +01:00
parent d3552bc3ad
commit e2e1ee2dfc

View File

@ -558,9 +558,10 @@ public class Slider extends GameObject {
float t = getT(trackPosition, true); float t = getT(trackPosition, true);
if (Math.floor(t) > currentRepeats) { if (Math.floor(t) > currentRepeats) {
currentRepeats++; currentRepeats++;
tickIntervals++; //tickIntervals++;
tickExpand = TICKEXPAND; tickExpand = TICKEXPAND;
isNewRepeat = true; isNewRepeat = true;
tickIndex = 0;
} }
} }