mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
[MIRROR] Fix gas overlays (#10944)
Co-authored-by: ShadowLarkens <shadowlarkens@gmail.com> Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
committed by
GitHub
parent
1cd6e9fb41
commit
49f8cf7b8b
@@ -132,7 +132,7 @@
|
||||
|
||||
var/total_oxidizers = 0
|
||||
for(var/g in air_contents.gas)
|
||||
if(gas_data.flags[g] & XGM_GAS_OXIDIZER)
|
||||
if(GLOB.gas_data.flags[g] & XGM_GAS_OXIDIZER)
|
||||
total_oxidizers += air_contents.gas[g]
|
||||
|
||||
var/invalid_fire = total_oxidizers < 1 || air_contents.temperature <= (T0C + 15) || ultimate_burnout >= 1 || my_tile.is_outdoors() || SSair.lingering_fires >= 1000
|
||||
|
||||
Reference in New Issue
Block a user