decrased maincycle time from 300ms to 1ms

This commit is contained in:
kremsy 2014-01-29 16:23:00 +01:00 committed by Steffen Schröder
parent dfb792a324
commit 6367ef160c

View File

@ -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);
}