Skip to content

Commit

Permalink
LUA Error fix in oUF Module
Browse files Browse the repository at this point in the history
  • Loading branch information
Wutname1 committed Jun 27, 2018
1 parent ec879de commit 0e0e288
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libs/oUF_Plugins/oUF_MovableFrames.lua
Original file line number Diff line number Diff line change
Expand Up @@ -68,14 +68,14 @@ local getPoint = function(obj, anchor)
end

return string.format(
'%s\031%s\031%d\031%d\031\%.3f',
'%s\031%s\031%d\031%d\031%.3f',
point, 'UIParent', x, y, OS
)
else
local point, parent, _, x, y = anchor:GetPoint()

return string.format(
'%s\031%s\031%d\031%d\031\%.3f',
'%s\031%s\031%d\031%d\031%.3f',
point, 'UIParent', x, y, obj:GetScale()
)
end
Expand Down Expand Up @@ -219,7 +219,7 @@ local saveCustomPosition = function(style, ident, point, x, y, scale)
if(not _DB[style]) then _DB[style] = {} end

_DB[style][ident] = string.format(
'%s\031%s\031%d\031%d\031\%.3f',
'%s\031%s\031%d\031%d\031%.3f',
point, 'UIParent', x, y, scale
)
end
Expand Down

0 comments on commit 0e0e288

Please sign in to comment.