small bugfix

This commit is contained in:
kremsy 2014-01-23 17:47:21 +01:00 committed by Steffen Schröder
parent 8a193fe7ee
commit c4f3cad350
2 changed files with 1 additions and 2 deletions

View File

@ -211,5 +211,4 @@ class Player {
$this->autoTarget = (bool)(intval($spectatorStatus / 1000) % 10);
$this->currentTargetId = intval($spectatorStatus / 10000);
}
}

View File

@ -157,7 +157,7 @@ class ServerCommands implements CallbackListener, CommandListener, ManialinkPage
return;
}
$systemInfo = $this->maniaControl->server->getSystemInfo();
$message = 'SystemInfo: ip=' . $systemInfo['PublishedIp'] . ', port=' . $systemInfo['Port'] . ', p2pPort=' . $systemInfo['P2PPort'] . ', title=' . $systemInfo['TitleId'] . ', login=' . $systemInfo['ServerLogin'] . '.';
$message = 'SystemInfo: ip=' . $systemInfo->publishedIp . ', port=' . $systemInfo->port . ', p2pPort=' . $systemInfo->p2PPort . ', title=' . $systemInfo->titleId . ', login=' . $systemInfo->serverLogin . '.';
$this->maniaControl->chat->sendInformation($message, $player->login);
}