diff --git a/modules/skin.lua b/modules/skin.lua index 62cfcbca..dbf64c1a 100644 --- a/modules/skin.lua +++ b/modules/skin.lua @@ -24,7 +24,7 @@ pfUI:RegisterModule("skin", "vanilla:tbc", function () return elseif center and center:IsShown() and left and left:IsShown() then local width = left.rightObj:GetRight() - if width ~= UIParent.pfLeftAligned then + if width and width ~= UIParent.pfLeftAligned then center:SetPoint("TOPLEFT", "UIParent", "TOPLEFT", width + 10, -104) UIParent.pfLeftAligned = width end