update to use current mesecons API

requires mesecons commit 5be179bf110b44bdc06df6dbfde4e61487cf0635 or newer.
This commit is contained in:
Vanessa Ezekowitz
2014-11-22 13:55:54 -05:00
parent b49428721a
commit 28cef5e82f
5 changed files with 11 additions and 11 deletions

View File

@ -171,7 +171,7 @@ pipeworks.register_tube("pipeworks:teleport_tube","Teleporting Pneumatic Tube Se
end})
if minetest.get_modpath("mesecons_mvps") ~= nil then
mesecon:register_on_mvps_move(function(moved_nodes)
mesecon.register_on_mvps_move(function(moved_nodes)
for _, n in ipairs(moved_nodes) do
if string.find(n.node.name, "pipeworks:teleport_tube") ~= nil then
update_pos_in_file(n.pos)