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

@ -687,8 +687,8 @@ class MapList implements ManialinkPageAnswerListener, CallbackListener {
$this->maniaControl->mapManager->addMapFromMx($mapId, $player->login);
break;
case self::ACTION_ERASE_MAP:
//actionArray[3] = mapUid
$this->maniaControl->mapManager->removeMap($player, $actionArray[3]);
$mapUid = $actionArray[3];
$this->maniaControl->mapManager->removeMap($player, $mapUid);
$this->showMapList($player);
break;
case self::ACTION_SWITCH_MAP: