Merge pull request #16515 from ShadowLarkens/zas

Some ZAS tweaks and minor optimizations
This commit is contained in:
Heroman3003
2024-11-28 05:34:47 +10:00
committed by GitHub
45 changed files with 330 additions and 460 deletions
@@ -36,11 +36,11 @@
if(!partner)
return 0
if(!air_master || air_master.current_cycle <= update_cycle)
if(!SSair || SSair.current_cycle <= update_cycle)
return 0
update_cycle = air_master.current_cycle
partner.update_cycle = air_master.current_cycle
update_cycle = SSair.current_cycle
partner.update_cycle = SSair.current_cycle
var/air_heat_capacity = air_contents.heat_capacity()
var/other_air_heat_capacity = partner.air_contents.heat_capacity()