stability improvemenets
This commit is contained in:
parent
8b7e73b52a
commit
fa7ebd0cc6
@ -38,7 +38,8 @@ class OnCaptureStructure extends BaseStructure {
|
|||||||
$this->time = $jsonObj->time;
|
$this->time = $jsonObj->time;
|
||||||
$this->playerArray = $jsonObj->players;
|
$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 = new Landmark();
|
||||||
$this->landMark->setTag($jsonObj->landmark->tag);
|
$this->landMark->setTag($jsonObj->landmark->tag);
|
||||||
$this->landMark->setOrder($jsonObj->landmark->order);
|
$this->landMark->setOrder($jsonObj->landmark->order);
|
||||||
@ -50,7 +51,7 @@ class OnCaptureStructure extends BaseStructure {
|
|||||||
$position->setZ($jsonObj->landmark->position->z);
|
$position->setZ($jsonObj->landmark->position->z);
|
||||||
|
|
||||||
$this->landMark->setPosition($position);
|
$this->landMark->setPosition($position);
|
||||||
}
|
}*/
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -55,7 +55,7 @@ class ManiaControl implements CallbackListener, CommandListener, TimerListener,
|
|||||||
const VERSION = '0.208';
|
const VERSION = '0.208';
|
||||||
const API_VERSION = '2013-04-16';
|
const API_VERSION = '2013-04-16';
|
||||||
const MIN_DEDIVERSION = '2017-05-03_21_00';
|
const MIN_DEDIVERSION = '2017-05-03_21_00';
|
||||||
const SCRIPT_TIMEOUT = 10;
|
const SCRIPT_TIMEOUT = 30;
|
||||||
const URL_WEBSERVICE = 'https://ws.maniacontrol.com/';
|
const URL_WEBSERVICE = 'https://ws.maniacontrol.com/';
|
||||||
const SETTING_PERMISSION_SHUTDOWN = 'Shutdown ManiaControl';
|
const SETTING_PERMISSION_SHUTDOWN = 'Shutdown ManiaControl';
|
||||||
const SETTING_PERMISSION_RESTART = 'Restart ManiaControl';
|
const SETTING_PERMISSION_RESTART = 'Restart ManiaControl';
|
||||||
|
Loading…
Reference in New Issue
Block a user