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_switch/init.lua | |
parent | 987de2c7d5df3a389234b0122406afaaa3b1fafe (diff) |
Code cleanup, little bugfix (some conductors placed next to receptors didn't turn on)
Diffstat (limited to 'mesecons_switch/init.lua')
-rw-r--r-- | mesecons_switch/init.lua | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/mesecons_switch/init.lua b/mesecons_switch/init.lua index 7282e61..bca2e50 100644 --- a/mesecons_switch/init.lua +++ b/mesecons_switch/init.lua @@ -13,9 +13,6 @@ minetest.register_node("mesecons_switch:mesecon_switch_on", { groups = {dig_immediate=2,not_in_creative_inventory=1, mesecon = 2}, drop='"mesecons_switch:mesecon_switch_off" 1', description="Switch", - after_dig_node = function(pos) - mesecon:receptor_off(pos) - end }) mesecon:add_receptor_node("mesecons_switch:mesecon_switch_on") |