From 9829abc74dcc5ce886dfd6bbb01315e874fe917e Mon Sep 17 00:00:00 2001 From: Jeija Date: Sun, 12 Aug 2012 10:57:00 +0200 Subject: HUGE speed improvement --- mesecons_microcontroller/init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mesecons_microcontroller/init.lua') diff --git a/mesecons_microcontroller/init.lua b/mesecons_microcontroller/init.lua index 1b0f5ee..d76c85f 100644 --- a/mesecons_microcontroller/init.lua +++ b/mesecons_microcontroller/init.lua @@ -6,9 +6,9 @@ for c = 0, 1 do for d = 0, 1 do local nodename = "mesecons_microcontroller:microcontroller"..tostring(d)..tostring(c)..tostring(b)..tostring(a) if tostring(d)..tostring(c)..tostring(b)..tostring(a) ~= "0000" then - groups = {dig_immediate=2, not_in_creative_inventory=1, mesecon = 2} + groups = {dig_immediate=2, not_in_creative_inventory=1, mesecon_effector_on = 1, mesecon_effector_off = 1, mesecon = 2} else - groups = {dig_immediate=2, mesecon = 2} + groups = {dig_immediate=2, mesecon_effector_on = 1, mesecon_effector_off = 1, mesecon = 2} end minetest.register_node(nodename, { description = "Microcontroller", -- cgit v1.2.3