From eb331f3372cf1c32966198a3d26052d79d6ed96b Mon Sep 17 00:00:00 2001 From: shagu Date: Mon, 22 Aug 2022 16:51:57 +0200 Subject: [PATCH] mapreveal: remove markers from map if disabled --- modules/mapreveal.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/mapreveal.lua b/modules/mapreveal.lua index 2fc9a958..1bdb5a7a 100644 --- a/modules/mapreveal.lua +++ b/modules/mapreveal.lua @@ -146,6 +146,8 @@ pfUI:RegisterModule("mapreveal", "vanilla:tbc", function () if C.appearance.worldmap.mapexploration == "1" and not alreadyknown[textureName] then explore.tex:SetTexture("Interface\\WorldMap\\WorldMap-MagnifyingGlass") explore:Show() + else + explore:Hide() end if C.appearance.worldmap.mapreveal == "1" or alreadyknown[textureName] then