diff --git a/modules/buff.lua b/modules/buff.lua index fa5dbaf8..39465a4c 100644 --- a/modules/buff.lua +++ b/modules/buff.lua @@ -52,6 +52,11 @@ pfUI:RegisterModule("buff", "vanilla:tbc", function () buff.mode = buff.btype buff.texture:SetTexture(GetPlayerBuffTexture(buff.bid)) + if not buff.backdrop then + CreateBackdrop(buff) + CreateBackdropShadow(buff) + end + if buff.btype == "HARMFUL" then local dtype = GetPlayerBuffDispelType(buff.bid) if dtype == "Magic" then @@ -292,9 +297,6 @@ pfUI:RegisterModule("buff", "vanilla:tbc", function () buff:ClearAllPoints() buff:SetPoint("TOPRIGHT", relFrame, "TOPRIGHT",offsetX, offsetY) - CreateBackdrop(buff) - CreateBackdropShadow(buff) - buff.timer:SetFont(pfUI.font_default, fontsize, "OUTLINE") buff.stacks:SetFont(pfUI.font_default, fontsize+1, "OUTLINE")