diff options
author | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2012-09-06 10:32:10 -0400 |
---|---|---|
committer | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2012-09-06 10:32:10 -0400 |
commit | 70e9db28bc138d9aef7f4f0e5f9e6eb75b1af552 (patch) | |
tree | 907e6d152fbf41484edbd0a4e50986ed0dd7c548 /mesecons_switch | |
parent | c04870efe43268a4344fdfc090cbd89909aab5ae (diff) | |
parent | 3928d54d0cb9992c1aca8d86c77b10a5a77083f8 (diff) | |
download | mesecons-70e9db28bc138d9aef7f4f0e5f9e6eb75b1af552.tar mesecons-70e9db28bc138d9aef7f4f0e5f9e6eb75b1af552.tar.gz mesecons-70e9db28bc138d9aef7f4f0e5f9e6eb75b1af552.tar.bz2 mesecons-70e9db28bc138d9aef7f4f0e5f9e6eb75b1af552.tar.xz mesecons-70e9db28bc138d9aef7f4f0e5f9e6eb75b1af552.zip |
Merge branch 'master' of github.com:Jeija/minetest-mod-mesecons
Diffstat (limited to 'mesecons_switch')
-rw-r--r-- | mesecons_switch/init.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mesecons_switch/init.lua b/mesecons_switch/init.lua index 1213f6e..a8b3415 100644 --- a/mesecons_switch/init.lua +++ b/mesecons_switch/init.lua @@ -15,8 +15,7 @@ minetest.register_node("mesecons_switch:mesecon_switch_on", { description="Switch", }) -mesecon:add_receptor_node("mesecons_switch:mesecon_switch_on") -mesecon:add_receptor_node_off("mesecons_switch:mesecon_switch_off") +mesecon:register_receptor("mesecons_switch:mesecon_switch_on", "mesecons_switch:mesecon_switch_off") minetest.register_on_punchnode(function(pos, node, puncher) if node.name == "mesecons_switch:mesecon_switch_on" then |