From e192ccc8f31c301275c8ab11d02d05aaaf22c85a Mon Sep 17 00:00:00 2001 From: shagu Date: Sun, 4 Oct 2020 18:35:03 +0200 Subject: [PATCH] cooldown: add support for omnicc disable flag --- modules/cooldown.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/cooldown.lua b/modules/cooldown.lua index 159c8aa5..7745113a 100644 --- a/modules/cooldown.lua +++ b/modules/cooldown.lua @@ -60,6 +60,11 @@ pfUI:RegisterModule("cooldown", "vanilla:tbc", function () return end + -- add support for omnicc's disable flag + if this.noCooldownCount then + return + end + -- realign cooldown frames local parent = this.GetParent and this:GetParent() if parent and parent:GetWidth() / 36 > 0 then