diff options
Diffstat (limited to 'mesecons_walllever/init.lua')
-rw-r--r-- | mesecons_walllever/init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesecons_walllever/init.lua b/mesecons_walllever/init.lua index 5ebb6f8..9ae0655 100644 --- a/mesecons_walllever/init.lua +++ b/mesecons_walllever/init.lua @@ -15,7 +15,7 @@ mesecon.register_node("mesecons_walllever:wall_lever", { fixed = { -8/16, -8/16, 3/16, 8/16, 8/16, 8/16 }, }, sounds = default.node_sound_wood_defaults(), - on_punch = function (pos, node) + on_rightclick = function (pos, node) if(mesecon.flipstate(pos, node) == "on") then mesecon.receptor_on(pos, mesecon.rules.buttonlike_get(node)) else |