small fixes

This commit is contained in:
kremsy
2014-01-10 15:58:27 +01:00
parent fd5d2e59e9
commit 894ff70c54
4 changed files with 10 additions and 6 deletions

View File

@ -63,7 +63,7 @@ class ServerCommands implements CallbackListener, CommandListener, ManialinkPage
$itemQuad = new Quad_Icons128x32_1(); //TODO check if mode supports it
$itemQuad->setSubStyle($itemQuad::SUBSTYLE_ManiaLinkSwitch);
$itemQuad->setAction(self::ACTION_SET_PAUSE);
$this->maniaControl->actionsMenu->addAdminMenuItem($itemQuad, 1, 'Pauses the current game.');
$this->maniaControl->actionsMenu->addAdminMenuItem($itemQuad, 1, 'Pauses the current game');
// Action cancel Vote
$this->maniaControl->manialinkManager->registerManialinkPageAnswerListener(self::ACTION_CANCEL_VOTE, $this, 'command_cancelVote');