mirror of
https://github.com/minetest-mods/mesecons.git
synced 2025-06-28 05:50:17 +02:00
Change mesecons signals so that they update effectors only after a globalstep, configurable to be on/off
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user