diff options
author | Jeija <norrepli@gmail.com> | 2012-08-13 13:12:19 +0200 |
---|---|---|
committer | Jeija <norrepli@gmail.com> | 2012-08-13 13:12:19 +0200 |
commit | b197d29bef365947d0f288287ebaf09fab07cd86 (patch) | |
tree | 63e5221e5e66b5349ef0c1f083cc72211a18580d /mesecons_torch/init.lua | |
parent | 987de2c7d5df3a389234b0122406afaaa3b1fafe (diff) | |
download | mesecons-b197d29bef365947d0f288287ebaf09fab07cd86.tar mesecons-b197d29bef365947d0f288287ebaf09fab07cd86.tar.gz mesecons-b197d29bef365947d0f288287ebaf09fab07cd86.tar.bz2 mesecons-b197d29bef365947d0f288287ebaf09fab07cd86.tar.xz mesecons-b197d29bef365947d0f288287ebaf09fab07cd86.zip |
Code cleanup, little bugfix (some conductors placed next to receptors didn't turn on)
Diffstat (limited to 'mesecons_torch/init.lua')
-rw-r--r-- | mesecons_torch/init.lua | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/mesecons_torch/init.lua b/mesecons_torch/init.lua index ad2eeed..c97fec8 100644 --- a/mesecons_torch/init.lua +++ b/mesecons_torch/init.lua @@ -46,13 +46,6 @@ minetest.register_node("mesecons_torch:mesecon_torch_on", { groups = {dig_immediate=3, mesecon = 2}, light_source = LIGHT_MAX-5, description="Mesecon Torch", - after_place_node = function(pos) - local rules = mesecon.torch_get_rules(minetest.env:get_node(pos).param2) - mesecon:receptor_on(pos, rules) - end, - after_dig_node = function(pos) - mesecon:receptor_off(pos) - end }) minetest.register_abm({ |