summaryrefslogtreecommitdiff
path: root/mesecons_walllever
diff options
context:
space:
mode:
Diffstat (limited to 'mesecons_walllever')
-rw-r--r--mesecons_walllever/init.lua3
1 files changed, 0 insertions, 3 deletions
diff --git a/mesecons_walllever/init.lua b/mesecons_walllever/init.lua
index 6270e5e..1904085 100644
--- a/mesecons_walllever/init.lua
+++ b/mesecons_walllever/init.lua
@@ -59,9 +59,6 @@ minetest.register_node("mesecons_walllever:wall_lever_on", {
groups = {dig_immediate=2,not_in_creative_inventory=1, mesecon = 1},
drop = '"mesecons_walllever:wall_lever_off" 1',
description="Lever",
- 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)