add mx added map to jukebox
This commit is contained in:
parent
142296859f
commit
a2eb11ca5c
@ -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]);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user