api: crash fixes with bad movable table

This commit is contained in:
shagu
2018-05-26 00:02:50 +02:00
parent 59706f143c
commit 7793c5ba16
2 changed files with 6 additions and 7 deletions
+1 -2
View File
@@ -470,8 +470,7 @@ function pfUI.api.UpdateMovable(frame)
end
if not pfUI.movables[name] then
pfUI.movables[name] = true
table.insert(pfUI.movables, name)
pfUI.movables[name] = frame
end
-- update position data