summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeija <norrepli@gmail.com>2012-08-10 11:42:21 +0200
committerJeija <norrepli@gmail.com>2012-08-10 11:42:21 +0200
commitdaf1a7e5a3381453aa92e15e0cde1c10b3b5c40e (patch)
tree9fd1d0310a03fe3000a1aa33e77341c2f552bb0d
parentca7bd1f24f266e8183051ff1e71f16dc145ec01a (diff)
downloadmesecons-daf1a7e5a3381453aa92e15e0cde1c10b3b5c40e.tar
mesecons-daf1a7e5a3381453aa92e15e0cde1c10b3b5c40e.tar.gz
mesecons-daf1a7e5a3381453aa92e15e0cde1c10b3b5c40e.tar.bz2
mesecons-daf1a7e5a3381453aa92e15e0cde1c10b3b5c40e.tar.xz
mesecons-daf1a7e5a3381453aa92e15e0cde1c10b3b5c40e.zip
Fix bug in registration of wall lever as receptor_node_on
-rw-r--r--mesecons_walllever/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesecons_walllever/init.lua b/mesecons_walllever/init.lua
index 333be62..19720d0 100644
--- a/mesecons_walllever/init.lua
+++ b/mesecons_walllever/init.lua
@@ -83,5 +83,5 @@ minetest.register_craft({
{'"default:stick"'},
}
})
-mesecon:add_receptor_node("mesecons_walllever:wall_lever", nil, mesecon.button_get_rules)
+mesecon:add_receptor_node("mesecons_walllever:wall_lever_on", nil, mesecon.button_get_rules)
mesecon:add_receptor_node_off("mesecons_walllever:wall_lever_off", nil, mesecon.button_get_rules)