maniaplanet api update

This commit is contained in:
kremsy
2014-01-20 09:24:17 +01:00
committed by Steffen Schröder
parent 6520e75738
commit 7d8ba59771
6 changed files with 22 additions and 27 deletions

View File

@ -67,13 +67,12 @@ class ServerCommands implements CallbackListener, CommandListener, ManialinkPage
$scriptInfos = $this->maniaControl->client->getModeScriptInfo();
$pauseExists = false;
/*foreach($scriptInfos['commandDescs'] as $param) {
if($param['Name'] == "Command_ForceWarmUp") {
foreach($scriptInfos->commandDescs as $param) {
if($param->name == "Command_ForceWarmUp") {
$pauseExists = true;
break;
}
}*/ //TODO temp
$pauseExists = true;
}
// Set Pause
if($pauseExists) {