match settings manager

This commit is contained in:
Steffen Schröder
2014-05-11 15:28:53 +02:00
parent 52be0fab10
commit 0834d2c587
11 changed files with 154 additions and 82 deletions

View File

@ -358,7 +358,7 @@ class DedimaniaPlugin implements CallbackListener, CommandListener, TimerListene
* @return String
*/
private function getGameModeString() {
$gameMode = $this->maniaControl->server->getGameMode();
$gameMode = $this->maniaControl->server->matchSettingsManager->getGameMode();
$scriptNameResponse = $this->maniaControl->client->getScriptName();
$scriptName = str_replace('.Script.txt', '', $scriptNameResponse["CurrentValue"]);
if ($gameMode === null) {