Changed default debug level

This commit is contained in:
Shoghi Cervantes Pueyo 2013-03-09 12:52:57 +01:00
parent 84ac13d591
commit 5c7f397bde
2 changed files with 2 additions and 2 deletions

View File

@ -94,7 +94,7 @@ class ServerAPI{
"memory-limit" => "256M", "memory-limit" => "256M",
"last-update" => false, "last-update" => false,
"white-list" => false, "white-list" => false,
"debug" => 2, "debug" => 1,
"max-players" => 20, "max-players" => 20,
"server-type" => "normal", "server-type" => "normal",
"time-per-second" => 20, "time-per-second" => 20,

View File

@ -78,7 +78,7 @@ class UDPSocket{
public function read(){ public function read(){
if($this->connected === false){ if($this->connected === false){
return false; return array(3 => false);
} }
$source = false; $source = false;
$port = 1; //$source and $port will be overwritten $port = 1; //$source and $port will be overwritten