Minor refactor of how gas IDs are handled
This commit is contained in:
committed by
CitadelStationBot
parent
5b4e26cb06
commit
c0e9cde5c2
@@ -134,8 +134,8 @@
|
||||
|
||||
if(stat != DEAD)
|
||||
var/bz_percentage =0
|
||||
if("bz" in environment.gases)
|
||||
bz_percentage = environment.gases["bz"][MOLES] / environment.total_moles()
|
||||
if(environment.gases[/datum/gas/bz])
|
||||
bz_percentage = environment.gases[/datum/gas/bz][MOLES] / environment.total_moles()
|
||||
var/stasis = (bz_percentage >= 0.05 && bodytemperature < (T0C + 100)) || force_stasis
|
||||
|
||||
if(stat == CONSCIOUS && stasis)
|
||||
|
||||
Reference in New Issue
Block a user