Removed unused code, fixed undefined variables

This commit is contained in:
Shoghi Cervantes
2014-10-11 22:22:51 +02:00
parent bf89ea1cf6
commit ebb844fa52
16 changed files with 14 additions and 29 deletions

View File

@ -1990,7 +1990,6 @@ class Server{
}
private function tickProcessor(){
$lastLoop = 0;
while($this->isRunning){
$this->tick();
usleep((int) max(1, ($this->nextTick - microtime(true)) * 1000000));
@ -2124,7 +2123,6 @@ class Server{
$this->nextTick = $tickTime;
}
$this->nextTick += 0.05;
$this->inTick = false;
return true;
}