some small fixes for the web SDK

This commit is contained in:
kremsy
2017-05-24 21:02:47 +02:00
parent cb095b15c6
commit a9b01f139f
3 changed files with 12 additions and 9 deletions

View File

@ -110,7 +110,7 @@ class DedimaniaWebHandler implements TimerListener {
if (!$serverInfo || !$playerInfo || !$mapInfo || !$gameMode) {
$data = array($this->dedimaniaData->sessionId, $mapInfo, $gameMode, $serverInfo, $playerInfo);
if(!$serverInfo){ // No Players
if($serverInfo){ // No Players
Logger::logError("Dedimania Records could not be fetched, debuginfo:" . json_encode($data));
}
return false;