diff --git a/modules/cooldown.lua b/modules/cooldown.lua index bda11302..159c8aa5 100644 --- a/modules/cooldown.lua +++ b/modules/cooldown.lua @@ -35,7 +35,7 @@ pfUI:RegisterModule("cooldown", "vanilla:tbc", function () local function pfCreateCoolDown(cooldown, start, duration) cooldown.pfCooldownText = CreateFrame("Frame", "pfCooldownFrame", cooldown:GetParent()) - cooldown.pfCooldownText:SetAllPoints(cooldown:GetParent()) + cooldown.pfCooldownText:SetAllPoints(cooldown) cooldown.pfCooldownText:SetFrameLevel(cooldown:GetParent():GetFrameLevel() + 1) cooldown.pfCooldownText.text = cooldown.pfCooldownText:CreateFontString("pfCooldownFrameText", "OVERLAY")