stability improvemenets

This commit is contained in:
kremsy 2017-05-10 09:12:00 +02:00
parent 8b7e73b52a
commit fa7ebd0cc6
2 changed files with 4 additions and 3 deletions

View File

@ -38,7 +38,8 @@ class OnCaptureStructure extends BaseStructure {
$this->time = $jsonObj->time;
$this->playerArray = $jsonObj->players;
if (property_exists($jsonObj, 'landmark')) {
//TODO Verify why it doesnt work for siege
/*if (property_exists($jsonObj, 'landmark')) {
$this->landMark = new Landmark();
$this->landMark->setTag($jsonObj->landmark->tag);
$this->landMark->setOrder($jsonObj->landmark->order);
@ -50,7 +51,7 @@ class OnCaptureStructure extends BaseStructure {
$position->setZ($jsonObj->landmark->position->z);
$this->landMark->setPosition($position);
}
}*/
}
/**

View File

@ -55,7 +55,7 @@ class ManiaControl implements CallbackListener, CommandListener, TimerListener,
const VERSION = '0.208';
const API_VERSION = '2013-04-16';
const MIN_DEDIVERSION = '2017-05-03_21_00';
const SCRIPT_TIMEOUT = 10;
const SCRIPT_TIMEOUT = 30;
const URL_WEBSERVICE = 'https://ws.maniacontrol.com/';
const SETTING_PERMISSION_SHUTDOWN = 'Shutdown ManiaControl';
const SETTING_PERMISSION_RESTART = 'Restart ManiaControl';