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 /devices.lua | |
parent | b49428721a7c0e8ce445be7465f0d219cf55a61c (diff) |
update to use current mesecons API
requires mesecons commit 5be179bf110b44bdc06df6dbfde4e61487cf0635 or newer.
Diffstat (limited to 'devices.lua')
-rw-r--r-- | devices.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/devices.lua b/devices.lua index b7571d3..fc27988 100644 --- a/devices.lua +++ b/devices.lua @@ -503,7 +503,7 @@ minetest.register_node("pipeworks:flow_sensor_empty", { end, on_construct = function(pos) if mesecon then - mesecon:receptor_off(pos, rules) + mesecon.receptor_off(pos, rules) end end, node_box = { @@ -544,7 +544,7 @@ minetest.register_node("pipeworks:flow_sensor_loaded", { end, on_construct = function(pos) if mesecon then - mesecon:receptor_on(pos, rules) + mesecon.receptor_on(pos, rules) end end, node_box = { @@ -650,7 +650,7 @@ minetest.register_node("pipeworks:fountainhead", { end, on_construct = function(pos) if mesecon then - mesecon:receptor_on(pos, rules) + mesecon.receptor_on(pos, rules) end end, node_box = { @@ -684,7 +684,7 @@ minetest.register_node("pipeworks:fountainhead_pouring", { end, on_construct = function(pos) if mesecon then - mesecon:receptor_on(pos, rules) + mesecon.receptor_on(pos, rules) end end, node_box = { |