3
0
Fork 1
kcx-1614
Prototik 2015-08-14 03:34:11 +07:00
parent ac8700f8a6
commit 1488e0fdc4
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ public class TickLimiter {
} }
public boolean shouldContinue() { public boolean shouldContinue() {
if (++tick >= 300 && !shouldContinue) { if (++tick >= 300 && shouldContinue) {
tick = 0; tick = 0;
shouldContinue = System.currentTimeMillis() - startTime < maxTime; shouldContinue = System.currentTimeMillis() - startTime < maxTime;
} }