Possible solution for #1703 in-game action lag

This commit is contained in:
Shoghi Cervantes 2014-08-18 23:25:46 +02:00
parent 34711dc346
commit 0246648a2c

View File

@ -117,7 +117,12 @@ class RakLibInterface implements ServerInstance, SourceInterface{
}
public function process(){
return $this->interface->handlePacket();
$work = false;
if($this->interface->handlePacket()){
$work = true;
while($this->interface->handlePacket()){}
}
return $work;
}
public function closeSession($identifier, $reason){