maniaplanet api update
This commit is contained in:
committed by
Steffen Schröder
parent
6520e75738
commit
7d8ba59771
@ -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) {
|
||||
|
Reference in New Issue
Block a user