temporary added playerlist to playermenu button
This commit is contained in:
parent
7cc7d209d2
commit
46634c33f7
@ -139,6 +139,7 @@ class ActionsMenu implements CallbackListener, ManialinkPageAnswerListener {
|
|||||||
* @param array $callback
|
* @param array $callback
|
||||||
*/
|
*/
|
||||||
public function openPlayerMenu(array $callback, Player $player) {
|
public function openPlayerMenu(array $callback, Player $player) {
|
||||||
|
$this->maniaControl->playerManager->playerCommands->playerList->showPlayerList($player);
|
||||||
}
|
}
|
||||||
|
|
||||||
private function buildMenuIconsManialink() {
|
private function buildMenuIconsManialink() {
|
||||||
|
@ -17,7 +17,7 @@ class PlayerCommands implements CommandListener {
|
|||||||
* Private properties
|
* Private properties
|
||||||
*/
|
*/
|
||||||
private $maniaControl = null;
|
private $maniaControl = null;
|
||||||
private $playerList = null;
|
public $playerList = null;
|
||||||
/**
|
/**
|
||||||
* Create a new server commands instance
|
* Create a new server commands instance
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user