From 82033108bb74ddfe1cab948f33553324f5a287f0 Mon Sep 17 00:00:00 2001 From: cib Date: Mon, 9 Jan 2012 04:30:15 -0800 Subject: [PATCH] The config's HEALTH_TRESHOLD_CRIT option was being ignored in a few places, fixed this. --- code/modules/mob/living/carbon/human/life.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/mob/living/carbon/human/life.dm b/code/modules/mob/living/carbon/human/life.dm index 1df70ac599f..a963d0c88a2 100644 --- a/code/modules/mob/living/carbon/human/life.dm +++ b/code/modules/mob/living/carbon/human/life.dm @@ -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