diff --git a/application/core/Maps/MapList.php b/application/core/Maps/MapList.php index 3df2949e..200a393d 100644 --- a/application/core/Maps/MapList.php +++ b/application/core/Maps/MapList.php @@ -490,7 +490,11 @@ class MapList implements ManialinkPageAnswerListener, CallbackListener { $mxQuad->setUrl($map->mx->pageurl); $mxQuad->setZ(0.01); $script->addTooltip($mxQuad, $descriptionLabel, array(Script::OPTION_TOOLTIP_TEXT => "Update of $<" . $map->name . "$> available on Mania-Exchange")); - $mxQuad->setAction(self::ACTION_UPDATE_MAP . '.' . $map->uid); + + //Update Button + if($this->maniaControl->authenticationManager->checkPermission($player, MapManager::SETTING_PERMISSION_ADD_MAP)) { + $mxQuad->setAction(self::ACTION_UPDATE_MAP . '.' . $map->uid); + } } }