cooldown: fix flicker on actionbars

This commit is contained in:
shagu
2016-11-10 22:57:49 +01:00
parent db71691413
commit afc77c64d0
+1 -1
View File
@@ -4,7 +4,7 @@ pfUI:RegisterModule("cooldown", function ()
-- disable animation
this:SetPosition(1,1,1)
if ( start > 0 and duration > 0 and enable > 0) then
if ( start > 0 and duration > 2 and enable > 0) then
this.start = start
this.duration = duration
this.stopping = 0