resolved two todos
This commit is contained in:
parent
1a9c182f15
commit
1df8734dc9
@ -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';
|
||||
|
@ -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');
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user