SweepyBoop's Arena Helper

SweepyBoop's Arena Helper

13.9k Downloads

Sometimes icons do not hide when cooldown finishes

SweepyBoop opened this issue ยท 4 comments

commented
commented

local function OnCooldownTimerFinished(self)
StopAnimation(self:GetParent());
NS.FinishCooldownTimer(self);
end

NS.FinishCooldownTimer = function (self)
NS.RefreshCooldownTimer(self, true);
end

commented

Probably simply the logic if there aren't stacks.

commented
if ( start ~= math.huge ) and ( duration ~= math.huge ) then
        icon.cooldown:SetCooldown(start, duration);
        if icon.Count then
            icon.Count:SetText(stack and "#" or "");
        end
    else

This also needs to check against current time

commented

Fixed by #193 #194 #195