improved directory browser and map update check
This commit is contained in:
1 parent
8d7a147295
commit
5b87873aba
3 files changed
+32
-4
No files matched your search
@@ -362,6 +362,11 @@ class DirectoryBrowser implements ManialinkPageAnswerListener {
|
||||
return;
|
||||
}
|
||||
|
||||
//Update MX Data and ID
|
||||
$this->maniaControl->getMapManager()->getMXManager()->fetchManiaExchangeMapInformation($map);
|
||||
|
||||
$map->lastUpdate = time();
|
||||
|
||||
// Message
|
||||
$message = $player->getEscapedNickname() . ' added ' . $map->getEscapedName() . '!';
|
||||
$this->maniaControl->getChat()->sendSuccess($message);
|
||||
|
||||
Reference in new issue
Block a user