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;
local CoolDown = CreateFrame("Cooldown", "RektCoolDown" .. i, frame);
CoolDown:SetAllPoints()
CoolDown:SetCooldown(GetTime(), 50);
--CoolDown:SetCooldown(GetTime(), 50);
frame:Hide();
local colorframe = CreateFrame("Frame", nil, UIParent, nil);