diff options
author | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2014-11-22 13:55:54 -0500 |
---|---|---|
committer | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2014-11-22 13:55:54 -0500 |
commit | 28cef5e82f507377df9a29ff792e834a5b712c85 (patch) | |
tree | c776a196282b2497193aee7a6db9fab79cc081be /teleport_tube.lua | |
parent | b49428721a7c0e8ce445be7465f0d219cf55a61c (diff) |
update to use current mesecons API
requires mesecons commit 5be179bf110b44bdc06df6dbfde4e61487cf0635 or newer.
Diffstat (limited to 'teleport_tube.lua')
-rw-r--r-- | teleport_tube.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/teleport_tube.lua b/teleport_tube.lua index 16985e2..99b71a1 100644 --- a/teleport_tube.lua +++ b/teleport_tube.lua @@ -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) |