Attempted fix for ZAS possibly crashing BYOND, removed special case for Cryo from human life as it is already handled by cryo's return_air() proc, made breathing in superheated gas burn you a wee bit.

This commit is contained in:
SkyMarshal
2012-07-26 12:10:16 -07:00
parent c5f2df0aeb
commit af2af9d6b2
2 changed files with 2 additions and 2 deletions
+1 -2
View File
@@ -585,6 +585,7 @@
if(breath.temperature > (T0C+66) && !(COLD_RESISTANCE in mutations)) // Hot air hurts :(
if(prob(20))
src << "\red You feel a searing heat in your lungs!"
take_overall_damage(0,2) //burn them a bit.
fire_alert = max(fire_alert, 1)
else
fire_alert = 0
@@ -603,8 +604,6 @@
if(istype(loc, /turf/space))
environment_heat_capacity = loc:heat_capacity
loc_temp = 2.7
else if(istype(loc, /obj/machinery/atmospherics/unary/cryo_cell))
loc_temp = loc:air_contents.temperature
else
loc_temp = environment.temperature