diff options
Diffstat (limited to 'mesecons_button')
-rw-r--r-- | mesecons_button/init.lua | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/mesecons_button/init.lua b/mesecons_button/init.lua index 7ea2210..dfccc48 100644 --- a/mesecons_button/init.lua +++ b/mesecons_button/init.lua @@ -56,9 +56,6 @@ minetest.register_node("mesecons_button:button_on", { groups = {dig_immediate=2, not_in_creative_inventory=1, mesecon = 1}, drop = 'mesecons_button:button_off', description = "Button", - after_dig_node = function(pos, oldnode) - mesecon:receptor_off(pos, mesecon.button_get_rules(oldnode.param2)) - end }) minetest.register_on_punchnode(function(pos, node, puncher) |