From bfec0969b063c1623a2b6bf3e065b5d17dad25e8 Mon Sep 17 00:00:00 2001 From: Jocy Date: Thu, 11 May 2017 22:43:15 +0200 Subject: [PATCH] minor fixes and version increase --- core/ManiaControl.php | 4 ++-- core/Manialinks/SidebarMenuManager.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/ManiaControl.php b/core/ManiaControl.php index f7cce181..f50aa5ad 100644 --- a/core/ManiaControl.php +++ b/core/ManiaControl.php @@ -52,10 +52,10 @@ class ManiaControl implements CallbackListener, CommandListener, TimerListener, /* * Constants */ - const VERSION = '0.209'; + const VERSION = '0.210'; const API_VERSION = '2013-04-16'; const MIN_DEDIVERSION = '2017-05-03_21_00'; - const SCRIPT_TIMEOUT = 30; + const SCRIPT_TIMEOUT = 40; const URL_WEBSERVICE = 'https://ws.maniacontrol.com/'; const SETTING_PERMISSION_SHUTDOWN = 'Shutdown ManiaControl'; const SETTING_PERMISSION_RESTART = 'Restart ManiaControl'; diff --git a/core/Manialinks/SidebarMenuManager.php b/core/Manialinks/SidebarMenuManager.php index 3d8cbeba..acc20232 100644 --- a/core/Manialinks/SidebarMenuManager.php +++ b/core/Manialinks/SidebarMenuManager.php @@ -41,7 +41,7 @@ class SidebarMenuManager implements UsageInformationAble, CallbackListener { public function __construct(ManiaControl $maniaControl) { $this->maniaControl = $maniaControl; $this->maniaControl->getSettingManager()->initSetting($this, self::SETTING_SIDEBAR_POSX, 156); - $this->maniaControl->getSettingManager()->initSetting($this, self::SETTING_SIDEBAR_POSY_SHOOTMANIA, -37); + $this->maniaControl->getSettingManager()->initSetting($this, self::SETTING_SIDEBAR_POSY_SHOOTMANIA, -17); $this->maniaControl->getSettingManager()->initSetting($this, self::SETTING_SIDEBAR_POSY_TRACKMANIA, 17); $this->maniaControl->getSettingManager()->initSetting($this, self::SETTING_MENU_ITEMSIZE, 6); }