match settings manager

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

No files matched your search

@@ -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) {