cooldown-numbers: always return on gcd detection

This commit is contained in:
shagu
2022-04-03 13:07:59 +02:00
parent cd28be5dee
commit f79321c361
+6 -3
View File
@@ -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