From 6367ef160c6e2c54d8bcdb580404a0b08d63ee4f Mon Sep 17 00:00:00 2001 From: kremsy Date: Wed, 29 Jan 2014 16:23:00 +0100 Subject: [PATCH] decrased maincycle time from 300ms to 1ms --- application/core/ManiaControl.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/core/ManiaControl.php b/application/core/ManiaControl.php index 31ee8dd7..1dbb0535 100644 --- a/application/core/ManiaControl.php +++ b/application/core/ManiaControl.php @@ -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); }