From 2865df8a77e6cb47c66e96208bfdfe782695b090 Mon Sep 17 00:00:00 2001 From: Meow <30401521+me0wg4ming@users.noreply.github.com> Date: Sat, 14 Mar 2026 10:48:24 +0100 Subject: [PATCH] hide instead of setting alpha to 0 --- modules/energytick.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/energytick.lua b/modules/energytick.lua index 36913dcd..8b85021d 100644 --- a/modules/energytick.lua +++ b/modules/energytick.lua @@ -66,7 +66,7 @@ pfUI:RegisterModule("energytick", "vanilla:tbc", function() elseif this.mode == "MANA" and diff > 0 then if UnitMana("player") >= UnitManaMax("player") then this.start = nil - this.spark:SetAlpha(0) + this:Hide() elseif this.max ~= 5 and diff > (this.badtick and this.badtick * 1.2 or 5) then this.target = 2 else @@ -93,6 +93,7 @@ pfUI:RegisterModule("energytick", "vanilla:tbc", function() this.start, this.max = GetTime(), this.target this.target = nil this.spark:SetAlpha(1) + this:Show() end if not this.start then