diff options
| author | numberZero <silverunicorn2011@yandex.ru> | 2017-04-14 23:14:17 +0400 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-04-14 23:14:17 +0400 | 
| commit | 54b9eaffa2d604055e33cb9be876d0b5e7d96e1c (patch) | |
| tree | 19002ab41501b2fc69582418fef5b32f559ac259 /mesecons_gates | |
| parent | 25541646749ef692f32f3fd5ad5541a97db02109 (diff) | |
Improve overheating (#334)
New overheating system that doesn’t use the meta.
Diffstat (limited to 'mesecons_gates')
| -rw-r--r-- | mesecons_gates/init.lua | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/mesecons_gates/init.lua b/mesecons_gates/init.lua index 13e583b..3807d6f 100644 --- a/mesecons_gates/init.lua +++ b/mesecons_gates/init.lua @@ -74,7 +74,8 @@ local function register_gate(name, inputnumber, assess, recipe, description)  		assess = assess,  		onstate = basename.."_on",  		offstate = basename.."_off", -		inputnumber = inputnumber +		inputnumber = inputnumber, +		after_dig_node = mesecon.do_cooldown,  	},{  		tiles = {"jeija_microcontroller_bottom.png^".."jeija_gate_off.png^"..  			"jeija_gate_"..name..".png"}, | 
