From b197d29bef365947d0f288287ebaf09fab07cd86 Mon Sep 17 00:00:00 2001 From: Jeija Date: Mon, 13 Aug 2012 13:12:19 +0200 Subject: Code cleanup, little bugfix (some conductors placed next to receptors didn't turn on) --- mesecons_torch/init.lua | 7 ------- 1 file changed, 7 deletions(-) (limited to 'mesecons_torch/init.lua') 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({ -- cgit v1.2.3