From c83141ee68d38b31fba5fd2d574c114ee09c82a8 Mon Sep 17 00:00:00 2001 From: shagu Date: Mon, 27 Feb 2017 20:14:28 +0100 Subject: [PATCH] cooldown: no break required --- modules/cooldown.lua | 3 --- 1 file changed, 3 deletions(-) diff --git a/modules/cooldown.lua b/modules/cooldown.lua index 63e88df5..2fb3abc5 100644 --- a/modules/cooldown.lua +++ b/modules/cooldown.lua @@ -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)