turtle-wow: only hide status texts if own texts are shown

This commit is contained in:
shagu
2023-10-06 12:41:25 +02:00
parent 3bcc68cd6b
commit 0a4b2b4ff4
+6 -4
View File
@@ -20,11 +20,13 @@ local module = ShaguTweaks:register({
module.enable = function(self)
-- hide turtle-wow's target status texts
TargetHPText:Hide()
TargetHPText.Show = function() return end
if ShaguTweaks_config["Real Health Numbers"] == 1 then
TargetHPText:Hide()
TargetHPText.Show = function() return end
TargetHPPercText:Hide()
TargetHPPercText.Show = function() return end
TargetHPPercText:Hide()
TargetHPPercText.Show = function() return end
end
-- compatibility for turtle-wow's worldmap window
local HookWorldMapFrame_Maximize = WorldMapFrame_Maximize