logged mapadding
This commit is contained in:
parent
b67261fe5d
commit
15c488f821
@ -581,11 +581,15 @@ class MapManager implements CallbackListener {
|
|||||||
|
|
||||||
if(!$update) {
|
if(!$update) {
|
||||||
//Message
|
//Message
|
||||||
$this->maniaControl->chat->sendSuccess('$<' . $player->nickname . '$> added $<' . $mapInfo->name . '$>!');
|
$message = '$<' . $player->nickname . '$> added $<' . $mapInfo->name . '$>!';
|
||||||
|
$this->maniaControl->chat->sendSuccess($message);
|
||||||
|
$this->maniaControl->log($message, true);
|
||||||
// Queue requested Map
|
// Queue requested Map
|
||||||
$this->maniaControl->mapManager->mapQueue->addMapToMapQueue($login, $mapInfo->uid);
|
$this->maniaControl->mapManager->mapQueue->addMapToMapQueue($login, $mapInfo->uid);
|
||||||
} else {
|
} else {
|
||||||
$this->maniaControl->chat->sendSuccess('$<' . $player->nickname . '$> updated $<' . $mapInfo->name . '$>!');
|
$message = '$<' . $player->nickname . '$> updated $<' . $mapInfo->name . '$>!';
|
||||||
|
$this->maniaControl->chat->sendSuccess($message);
|
||||||
|
$this->maniaControl->log($message, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// TODO: add local map by filename
|
// TODO: add local map by filename
|
||||||
|
Loading…
x
Reference in New Issue
Block a user