The config's HEALTH_TRESHOLD_CRIT option was being ignored in a few places, fixed this.

This commit is contained in:
cib
2012-01-09 04:30:15 -08:00
parent f827d9f56e
commit 82033108bb
+1 -1
View File
@@ -229,7 +229,7 @@
var/datum/gas_mixture/environment = loc.return_air()
var/datum/air_group/breath
// HACK NEED CHANGING LATER
if(health < 0)
if(health < config.health_threshold_dead)
losebreath++
if(losebreath>0) //Suffocating so do not take a breath