diff options
author | Jeija <norrepli@gmail.com> | 2012-12-16 13:02:05 +0100 |
---|---|---|
committer | Jeija <norrepli@gmail.com> | 2012-12-16 13:02:05 +0100 |
commit | 0aab812487480f2c644c882d5b010d7ef7644da6 (patch) | |
tree | 787c033746b676813d8796ea62f1f0886efc288b /mesecons_extrawires/vertical.lua | |
parent | 9dee0c020c9d0807594a4de9f3728dd6b0e20223 (diff) | |
download | mesecons-0aab812487480f2c644c882d5b010d7ef7644da6.tar mesecons-0aab812487480f2c644c882d5b010d7ef7644da6.tar.gz mesecons-0aab812487480f2c644c882d5b010d7ef7644da6.tar.bz2 mesecons-0aab812487480f2c644c882d5b010d7ef7644da6.tar.xz mesecons-0aab812487480f2c644c882d5b010d7ef7644da6.zip |
Fix addPosRule without mesecon: in vertical wires (issue #62)
Diffstat (limited to 'mesecons_extrawires/vertical.lua')
-rw-r--r-- | mesecons_extrawires/vertical.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mesecons_extrawires/vertical.lua b/mesecons_extrawires/vertical.lua index 64e6e80..c20415a 100644 --- a/mesecons_extrawires/vertical.lua +++ b/mesecons_extrawires/vertical.lua @@ -35,8 +35,8 @@ local brules = local vertical_updatepos = function (pos) local node = minetest.env:get_node(pos) if minetest.registered_nodes[node.name].is_vertical_conductor then - local node_above = minetest.env:get_node(addPosRule(pos, vrules[1])) - local node_below = minetest.env:get_node(addPosRule(pos, vrules[2])) + local node_above = minetest.env:get_node(mesecon:addPosRule(pos, vrules[1])) + local node_below = minetest.env:get_node(mesecon:addPosRule(pos, vrules[2])) local namestate = minetest.registered_nodes[node.name].vertical_conductor_state -- above and below: vertical mesecon |