diff --git a/core/Callbacks/Structures/ShootMania/OnCaptureStructure.php b/core/Callbacks/Structures/ShootMania/OnCaptureStructure.php index ffaf47af..22d555a9 100644 --- a/core/Callbacks/Structures/ShootMania/OnCaptureStructure.php +++ b/core/Callbacks/Structures/ShootMania/OnCaptureStructure.php @@ -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); - } + }*/ } /** diff --git a/core/ManiaControl.php b/core/ManiaControl.php index 1293f04a..0f8573f3 100644 --- a/core/ManiaControl.php +++ b/core/ManiaControl.php @@ -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';