actions menu fix

This commit is contained in:
Steffen Schröder 2013-12-31 13:32:23 +01:00
parent f6894f79e5
commit 83f3ea35f7

View File

@ -119,7 +119,8 @@ class ActionsMenu implements CallbackListener, ManialinkPageAnswerListener {
*
* @param array $callback
*/
public function handlePlayerJoined(array $callback, Player $player) {
public function handlePlayerJoined(array $callback) {
$player = $callback[1];
$manialinkText = $this->buildMenuIconsManialink()->render()->saveXML();
$this->maniaControl->manialinkManager->sendManialink($manialinkText, $player->login);
}