Removed multi-catch for PHP5 and bumped MC-Version
This commit is contained in:
parent
ed250af546
commit
324cbdce50
@ -55,7 +55,7 @@ class ManiaControl implements CallbackListener, CommandListener, TimerListener,
|
||||
/*
|
||||
* Constants
|
||||
*/
|
||||
const VERSION = '0.251';
|
||||
const VERSION = '0.252';
|
||||
const API_VERSION = '2013-04-16';
|
||||
const MIN_DEDIVERSION = '2017-05-03_21_00';
|
||||
const SCRIPT_TIMEOUT = 40;
|
||||
|
@ -236,7 +236,7 @@ class Commands implements CallbackListener, CommandListener, ManialinkPageAnswer
|
||||
|
||||
//Especially for chase, force end of the round to reach a draw
|
||||
$this->maniaControl->getClient()->sendModeScriptCommands(array('Command_ForceEndRound' => true));
|
||||
} catch (GameModeException | FaultException $ex) {
|
||||
} catch (GameModeException $e) {
|
||||
}
|
||||
|
||||
//TODO verify if not everything is replaced through the new pause
|
||||
|
Loading…
Reference in New Issue
Block a user