From f79321c36197294874a430d69cff1ae9a2238afb Mon Sep 17 00:00:00 2001 From: shagu Date: Sun, 3 Apr 2022 13:07:18 +0200 Subject: [PATCH] cooldown-numbers: always return on gcd detection --- mods/cooldown-numbers.lua | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/mods/cooldown-numbers.lua b/mods/cooldown-numbers.lua index 524c6c3..9302126 100644 --- a/mods/cooldown-numbers.lua +++ b/mods/cooldown-numbers.lua @@ -63,9 +63,12 @@ local function SetCooldown(this, start, duration, enable) if this.noCooldownCount then return end -- don't draw global cooldowns - -- and hide if already existing - if duration < 2 and this.cooldowntext then - this.cooldowntext:Hide() + if duration < 2 then + -- hide if already existing + if this.cooldowntext then + this.cooldowntext:Hide() + end + return end