fixed a bug
This commit is contained in:
parent
06980c949e
commit
10fe4c3e7e
@ -555,11 +555,13 @@ class MapManager implements CallbackListener {
|
||||
}
|
||||
|
||||
// Add map to map list
|
||||
if (!$this->maniaControl->client->insertMap($mapFileName)) {
|
||||
try {
|
||||
$this->maniaControl->client->insertMap($mapFileName);
|
||||
} catch(\Exception $e) {
|
||||
$this->maniaControl->chat->sendError("Couldn't add map to match settings!", $login);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
$this->updateFullMapList();
|
||||
|
||||
//Update Mx MapInfo
|
||||
|
Loading…
Reference in New Issue
Block a user