mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-29 18:56:02 +00:00
fix bad cooldown displays
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
pfUI:RegisterModule("cooldown", function ()
|
||||
function CooldownFrame_SetTimer(this, start, duration, enable)
|
||||
if ( start > 0 and duration > 0 and enable > 0) then
|
||||
|
||||
this.start = start;
|
||||
this.duration = duration;
|
||||
this.stopping = 0;
|
||||
@@ -28,8 +27,8 @@ pfUI:RegisterModule("cooldown", function ()
|
||||
this:Show();
|
||||
else
|
||||
this:Hide()
|
||||
if this.cd then this.cd:Hide() end
|
||||
end
|
||||
|
||||
this:SetAlpha(0)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user