diff options
author | Jeija <norrepli@gmail.com> | 2012-12-09 15:32:29 +0100 |
---|---|---|
committer | Jeija <norrepli@gmail.com> | 2012-12-09 15:32:29 +0100 |
commit | 05def1540a0defb99234bce994352a05f632f69f (patch) | |
tree | 751e74b0287c0742efe0ba5f3bd40562fe845f19 /mesecons_microcontroller/init.lua | |
parent | 961b955f2d0872c4e84d9df63ea10a18643dfcbe (diff) |
Fix microcontroller digging
Diffstat (limited to 'mesecons_microcontroller/init.lua')
-rw-r--r-- | mesecons_microcontroller/init.lua | 2 |
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, |