diff --git a/api/api.lua b/api/api.lua index 36570e06..dbb2e2b0 100644 --- a/api/api.lua +++ b/api/api.lua @@ -644,7 +644,8 @@ function pfUI.api.LoadMovable(frame, init) frame:SetScale(frame.posdata.scale) for id, point in pairs(frame.posdata.pos) do - frame:SetPoint(unpack(point)) + local a, b, c, d, e = unpack(point) + if a and b then frame:SetPoint(a,b,c,d,e) end end end end