mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-27 22:18:27 +01:00
Converts gas, mat and reagent strings to defines
This commit is contained in:
@@ -150,7 +150,7 @@
|
||||
|
||||
/obj/structure/bonfire/proc/check_oxygen()
|
||||
var/datum/gas_mixture/G = loc.return_air()
|
||||
if(G.gas["oxygen"] < 1)
|
||||
if(G.gas[GAS_O2] < 1)
|
||||
return FALSE
|
||||
return TRUE
|
||||
|
||||
@@ -345,7 +345,7 @@
|
||||
|
||||
/obj/structure/fireplace/proc/check_oxygen()
|
||||
var/datum/gas_mixture/G = loc.return_air()
|
||||
if(G.gas["oxygen"] < 1)
|
||||
if(G.gas[GAS_O2] < 1)
|
||||
return FALSE
|
||||
return TRUE
|
||||
|
||||
|
||||
Reference in New Issue
Block a user