summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mesecons_microcontroller/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesecons_microcontroller/init.lua b/mesecons_microcontroller/init.lua
index 19fc42d..a359d05 100644
--- a/mesecons_microcontroller/init.lua
+++ b/mesecons_microcontroller/init.lua
@@ -129,7 +129,7 @@ minetest.register_node(nodename, {
update_yc(pos)
end,
mesecons = mesecons,
- on_dig = function (pos, node)
+ after_dig_node = function (pos, node)
rules = mesecon:get_rules(node.name)
mesecon:receptor_off(pos, rules)
end,