This commit is contained in:
duncathan
2015-09-09 07:23:06 -06:00
parent b86464f573
commit 5b3517eff4
@@ -52,7 +52,7 @@
/obj/machinery/atmospherics/pipe/heat_exchanging/process()
var/datum/gas_mixture/pipe_air = return_air()
if(!return_air)
if(!pipe_air)
return //machines subsystem fires before atmos is initialized so this prevents race condition runtimes
//Heat causes pipe to glow
@@ -76,4 +76,4 @@
if(buckled_mob)
var/heat_limit = 1000
if(pipe_air.temperature > heat_limit + 1)
buckled_mob.apply_damage(4 * log(pipe_air.temperature - heat_limit), BURN, "chest")
buckled_mob.apply_damage(4 * log(pipe_air.temperature - heat_limit), BURN, "chest")