fix first tick after repeat being ignored
This commit is contained in:
parent
ffd1a57755
commit
5657290abf
|
@ -508,8 +508,8 @@ public class Slider implements GameObject {
|
||||||
float t = getT(trackPosition, true);
|
float t = getT(trackPosition, true);
|
||||||
if (Math.floor(t) > currentRepeats) {
|
if (Math.floor(t) > currentRepeats) {
|
||||||
currentRepeats++;
|
currentRepeats++;
|
||||||
tickIntervals++;
|
|
||||||
isNewRepeat = true;
|
isNewRepeat = true;
|
||||||
|
tickIndex = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user