Fix bug in registration of wall lever as receptor_node_on

This commit is contained in:
Jeija 2012-08-10 11:42:21 +02:00
parent ca7bd1f24f
commit daf1a7e5a3

View File

@ -83,5 +83,5 @@ minetest.register_craft({
{'"default:stick"'}, {'"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) mesecon:add_receptor_node_off("mesecons_walllever:wall_lever_off", nil, mesecon.button_get_rules)