temporary added playerlist to playermenu button

This commit is contained in:
kremsy 2014-01-02 19:14:48 +01:00
parent 7cc7d209d2
commit 46634c33f7
2 changed files with 2 additions and 1 deletions

View File

@ -139,6 +139,7 @@ class ActionsMenu implements CallbackListener, ManialinkPageAnswerListener {
* @param array $callback
*/
public function openPlayerMenu(array $callback, Player $player) {
$this->maniaControl->playerManager->playerCommands->playerList->showPlayerList($player);
}
private function buildMenuIconsManialink() {

View File

@ -17,7 +17,7 @@ class PlayerCommands implements CommandListener {
* Private properties
*/
private $maniaControl = null;
private $playerList = null;
public $playerList = null;
/**
* Create a new server commands instance
*