cooldown: fix error on rare bad invocations

This commit is contained in:
shagu
2016-11-06 01:37:48 +01:00
parent 07d4b9aaaf
commit bda55f6f7a
+1
View File
@@ -1,5 +1,6 @@
pfUI:RegisterModule("cooldown", function ()
function CooldownFrame_SetTimer(this, start, duration, enable)
if not this then return end
-- disable animation
this:SetPosition(1,1,1);