small try
This commit is contained in:
parent
36e28fecac
commit
e6866b8543
@ -338,7 +338,7 @@ class ManiaControl implements CommandListener, TimerListener {
|
|||||||
// Yield for next tick
|
// Yield for next tick
|
||||||
$loopEnd = microtime(true);
|
$loopEnd = microtime(true);
|
||||||
|
|
||||||
$sleepTime = (int)(1000 - ($loopEnd - $loopStart) * 1000000);
|
$sleepTime = (int)(5000 - ($loopEnd - $loopStart) * 1000000);
|
||||||
if ($sleepTime > 0) {
|
if ($sleepTime > 0) {
|
||||||
usleep($sleepTime);
|
usleep($sleepTime);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user