From c075ee4427332d41face97f4147a5c0b4bbf2db9 Mon Sep 17 00:00:00 2001 From: shagu Date: Tue, 20 May 2025 16:19:15 +0200 Subject: [PATCH] worldmap-reveal: add option to hide exploration point --- mods/worldmap-reveal.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mods/worldmap-reveal.lua b/mods/worldmap-reveal.lua index 5481523..754527e 100644 --- a/mods/worldmap-reveal.lua +++ b/mods/worldmap-reveal.lua @@ -8,6 +8,9 @@ local module = ShaguTweaks:register({ expansions = { ["vanilla"] = true, ["tbc"] = false }, maintainer = "@shagu (GitHub)", enabled = true, + config = { + ["map.reveal.marker"] = "on", + } }) -- Vanilla WoW MapOverlayData @@ -239,7 +242,7 @@ module.enable = function(self) explore.tex:SetAllPoints() -- show exploration points - if enabled and not alreadyknown[textureName] then + if self.config["map.reveal.marker"] == "on" and enabled and not alreadyknown[textureName] then explore.tex:SetTexture("Interface\\WorldMap\\WorldMap-MagnifyingGlass") explore:Show() else