cooldown: no break required

This commit is contained in:
shagu
2017-02-27 20:14:28 +01:00
parent aae7e034f3
commit c83141ee68
-3
View File
@@ -56,9 +56,6 @@ pfUI:RegisterModule("cooldown", function ()
-- hook
Hook("CooldownFrame_SetTimer", function(this, start, duration, enable)
-- break here if no this-reference is set
if not this then return end
-- realign guessed cooldown frames
if this:GetParent() and this:GetParent():GetWidth() / 36 > 0 then
this:SetScale(this:GetParent():GetWidth() / 36)