From 810fc3ea24ef1a23ea06c9a9d4cf8896451a31c1 Mon Sep 17 00:00:00 2001 From: shagu Date: Mon, 21 Apr 2025 06:52:21 +0200 Subject: [PATCH] cooldown: allow gcd disabled timers to reset duration --- modules/cooldown.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/cooldown.lua b/modules/cooldown.lua index 43b8ef91..a09e184b 100644 --- a/modules/cooldown.lua +++ b/modules/cooldown.lua @@ -104,12 +104,12 @@ pfUI:RegisterModule("cooldown", "vanilla:tbc", function () -- don't draw global cooldowns if this.pfCooldownType == "NOGCD" and duration < tonumber(C.appearance.cd.threshold) then - return + start, duration = 0, 0 end -- disable GCDs on non pfUI frames if not this.pfCooldownType and duration < tonumber(C.appearance.cd.threshold) then - return + start, duration = 0, 0 end -- hide animation