From 46c532053534ca356018d484d0964437bb3ce860 Mon Sep 17 00:00:00 2001 From: shagu Date: Sun, 1 Aug 2021 15:12:16 +0200 Subject: [PATCH] actionbar: add cooldowns to scanned vanilla macros --- modules/actionbar.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/actionbar.lua b/modules/actionbar.lua index ff609a10..7cb7959b 100644 --- a/modules/actionbar.lua +++ b/modules/actionbar.lua @@ -647,7 +647,8 @@ pfUI:RegisterModule("actionbar", "vanilla:tbc", function () elseif button.bar == 12 then start, duration, enable = GetPetActionCooldown(button.id) elseif button.spellslot and button.booktype then - start, duration, enabled = GetSpellCooldown(button.spellslot, button.booktype) + start, duration = GetSpellCooldown(button.spellslot, button.booktype) + enable = 1 else start, duration, enable = GetActionCooldown(button.id) end