mirror of
https://github.com/minetest-mods/mesecons.git
synced 2024-12-27 07:47:30 +01:00
Fix microcontroller digging
This commit is contained in:
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,
|
||||||
|
Loading…
Reference in New Issue
Block a user