diff --git a/Modules/Cooldowns.lua b/Modules/Cooldowns.lua index b431760..d31c361 100644 --- a/Modules/Cooldowns.lua +++ b/Modules/Cooldowns.lua @@ -238,9 +238,16 @@ end function Cooldowns:Test(unit) local button = Gladdy.buttons[unit] - button.spellCooldownFrame:Show() - button.lastCooldownSpell = 1 - self:UpdateTestCooldowns(unit) + if Gladdy.db.cooldown then + button.spellCooldownFrame:Show() + button.lastCooldownSpell = 1 + self:UpdateTestCooldowns(unit) + else + button.spellCooldownFrame:Hide() + button.lastCooldownSpell = 1 + self:UpdateTestCooldowns(unit) + end + end function Cooldowns:UpdateTestCooldowns(unit)