From afad5927832d52ddfaf180e94312226ddffd1606 Mon Sep 17 00:00:00 2001 From: Novatux Date: Wed, 5 Jun 2013 06:40:53 +0200 Subject: Change mesecons signals so that they update effectors only after a globalstep, configurable to be on/off --- mesecons_microcontroller/init.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'mesecons_microcontroller') diff --git a/mesecons_microcontroller/init.lua b/mesecons_microcontroller/init.lua index c3ddb4e..8be9ffa 100644 --- a/mesecons_microcontroller/init.lua +++ b/mesecons_microcontroller/init.lua @@ -682,6 +682,7 @@ end --end function yc_overheat(meta) + if MESECONS_GLOBALSTEP then return false end h = meta:get_int("heat") if h == nil then return true end -- if nil the overheat if h>60 then -- cgit v1.2.3