get_all_pos fix

This commit is contained in:
ivolff 2024-04-23 18:25:03 +04:00 committed by GitHub
parent 300fbf1309
commit 8741e6cb74
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -274,7 +274,7 @@ end
function DynamicGrid.get_all_pos(self)
local result = {}
for i, node in pairs(self.nodes) do
table.insert(result, gui.get_position(node))
table.insert(result, gui.get_position(node.node))
end
return result