Don't set a cooldown to the cooldown frame after it's creation.

This commit is contained in:
Relintai 2021-06-24 21:47:06 +02:00
parent 11ff22b41d
commit 7e58f2b605

View File

@ -252,7 +252,7 @@ function Rekt:CreateFrames(which)
frame.texture = text; frame.texture = text;
local CoolDown = CreateFrame("Cooldown", "RektCoolDown" .. i, frame); local CoolDown = CreateFrame("Cooldown", "RektCoolDown" .. i, frame);
CoolDown:SetAllPoints() CoolDown:SetAllPoints()
CoolDown:SetCooldown(GetTime(), 50); --CoolDown:SetCooldown(GetTime(), 50);
frame:Hide(); frame:Hide();
local colorframe = CreateFrame("Frame", nil, UIParent, nil); local colorframe = CreateFrame("Frame", nil, UIParent, nil);