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