mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-21 03:40:49 +00:00
mapreveal: remove markers from map if disabled
This commit is contained in:
@@ -146,6 +146,8 @@ pfUI:RegisterModule("mapreveal", "vanilla:tbc", function ()
|
|||||||
if C.appearance.worldmap.mapexploration == "1" and not alreadyknown[textureName] then
|
if C.appearance.worldmap.mapexploration == "1" and not alreadyknown[textureName] then
|
||||||
explore.tex:SetTexture("Interface\\WorldMap\\WorldMap-MagnifyingGlass")
|
explore.tex:SetTexture("Interface\\WorldMap\\WorldMap-MagnifyingGlass")
|
||||||
explore:Show()
|
explore:Show()
|
||||||
|
else
|
||||||
|
explore:Hide()
|
||||||
end
|
end
|
||||||
|
|
||||||
if C.appearance.worldmap.mapreveal == "1" or alreadyknown[textureName] then
|
if C.appearance.worldmap.mapreveal == "1" or alreadyknown[textureName] then
|
||||||
|
|||||||
Reference in New Issue
Block a user