decrased maincycle time from 300ms to 1ms
This commit is contained in:
parent
dfb792a324
commit
6367ef160c
@ -277,7 +277,7 @@ class ManiaControl implements CommandListener {
|
||||
|
||||
// Yield for next tick
|
||||
$loopEnd = microtime(true);
|
||||
$sleepTime = 300000 - $loopEnd + $loopStart;
|
||||
$sleepTime = 1000 - $loopEnd + $loopStart;
|
||||
if ($sleepTime > 0) {
|
||||
usleep($sleepTime);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user