cooldown: add option to draw on foreign addons

This commit is contained in:
shagu
2018-04-09 22:51:43 +02:00
parent 2d3814aaed
commit bc5a659470
11 changed files with 11 additions and 1 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ pfUI:RegisterModule("cooldown", function ()
-- hook
hooksecurefunc("CooldownFrame_SetTimer", function(this, start, duration, enable)
-- abort on unknown frames
if not this.pfCooldownType then
if C.appearance.cd.foreign == "0" and not this.pfCooldownType then
return
end