add mx added map to jukebox

This commit is contained in:
kremsy 2013-12-30 11:30:17 +01:00
parent 142296859f
commit a2eb11ca5c
2 changed files with 3 additions and 1 deletions
application/core/Maps

View File

@ -461,7 +461,6 @@ class MapList implements ManialinkPageAnswerListener, CallbackListener {
$this->maniaControl->log('Skipped to $z$<' . $mapList[$actionArray[2]]->name . '$>!');
}else if($jukeMap){
$this->maniaControl->mapManager->jukebox->addMapToJukebox($callback[1][1], $actionArray[2]);
}
}

View File

@ -341,6 +341,9 @@ class MapManager implements CallbackListener {
$this->maniaControl->chat->sendSuccess('Map $<' . $mapInfo['Name'] . '$> added!');
$this->updateFullMapList();
//Juke requested Map
$this->maniaControl->mapManager->jukebox->addMapToJukebox($login, $mapId);
}
// TODO: add local map by filename
}