Changed: active teleport option via map on r2 for privs

--HG--
branch : patches-from-atys
hg/hotfix/patches-from-atys
Riasan 6 years ago
parent 0debc7e6d6
commit 2d83507b55

@ -2626,6 +2626,9 @@ static void hideTeleportButtonsInPopupMenuIfNotEnoughPriv()
CInterfaceElement *ie = CWidgetManager::getInstance()->getElementFromId("ui:interface:map_menu:teleport");
if(ie) ie->setActive(showTeleport);
ie = CWidgetManager::getInstance()->getElementFromId("ui:interface:map_menu_island:teleport");
if(ie) ie->setActive(showTeleport);
ie = CWidgetManager::getInstance()->getElementFromId("ui:interface:land_mark_menu:lmteleport");
if(ie) ie->setActive(showTeleport);

Loading…
Cancel
Save