Fixed crash caused by the previous commit
parent
c924247079
commit
60b6290754
|
@ -143,7 +143,7 @@ for arena_name, map in pairs(maps) do
|
||||||
|
|
||||||
for pos, node in pairs(map.changed_nodes) do
|
for pos, node in pairs(map.changed_nodes) do
|
||||||
if minetest.deserialize(pos) then
|
if minetest.deserialize(pos) then
|
||||||
local hash_pos = minetest.hash_node_position()
|
local hash_pos = minetest.hash_node_position(minetest.deserialize(pos))
|
||||||
map.changed_nodes[pos] = nil
|
map.changed_nodes[pos] = nil
|
||||||
map.changed_nodes[hash_pos] = node
|
map.changed_nodes[hash_pos] = node
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue