Fix microcontroller digging

This commit is contained in:
Jeija 2012-12-09 15:32:29 +01:00
parent 961b955f2d
commit 05def1540a

@ -129,7 +129,7 @@ minetest.register_node(nodename, {
update_yc(pos) update_yc(pos)
end, end,
mesecons = mesecons, mesecons = mesecons,
on_dig = function (pos, node) after_dig_node = function (pos, node)
rules = mesecon:get_rules(node.name) rules = mesecon:get_rules(node.name)
mesecon:receptor_off(pos, rules) mesecon:receptor_off(pos, rules)
end, end,