From 05def1540a0defb99234bce994352a05f632f69f Mon Sep 17 00:00:00 2001 From: Jeija Date: Sun, 9 Dec 2012 15:32:29 +0100 Subject: [PATCH] Fix microcontroller digging --- mesecons_microcontroller/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,