diff --git a/application/core/ManiaControl.php b/application/core/ManiaControl.php index 4783c3f6..5b953c40 100644 --- a/application/core/ManiaControl.php +++ b/application/core/ManiaControl.php @@ -31,7 +31,6 @@ require_once __DIR__ . '/FileUtil.php'; require_once __DIR__ . '/Formatter.php'; require_once __DIR__ . '/GbxDataFetcher/gbxdatafetcher.inc.php'; require_once __DIR__ . '/ManiaExchange/mxinfofetcher.inc.php'; -require_once __DIR__ . '/ManiaExchange/mxinfosearcher.inc.php'; require_once __DIR__ . '/ManiaExchange/ManiaExchangeManager.php'; require_once __DIR__ . '/Manialinks/ManialinkManager.php'; require_once __DIR__ . '/Statistics/StatisticManager.php'; diff --git a/application/core/Maps/MapCommands.php b/application/core/Maps/MapCommands.php index 89656182..c95f19c3 100644 --- a/application/core/Maps/MapCommands.php +++ b/application/core/Maps/MapCommands.php @@ -159,7 +159,9 @@ class MapCommands implements CommandListener, ManialinkPageAnswerListener, Callb $this->maniaControl->authenticationManager->sendNotAllowed($player); return; } - //TODO message + $message = '$<' . $player->nickname . '$> skipped the current Map!'; + $this->maniaControl->chat->sendSuccess($message); + $this->maniaControl->log($message, true); $this->maniaControl->client->query('NextMap'); } @@ -174,7 +176,9 @@ class MapCommands implements CommandListener, ManialinkPageAnswerListener, Callb $this->maniaControl->authenticationManager->sendNotAllowed($player); return; } - //TODO message + $message = '$<' . $player->nickname . '$> restarted the current Map!'; + $this->maniaControl->chat->sendSuccess($message); + $this->maniaControl->log($message, true); $this->maniaControl->client->query('RestartMap'); }