From fe41c6ea1eba050192738da9b72d9ed883ac673f Mon Sep 17 00:00:00 2001 From: comma Date: Mon, 6 Aug 2012 21:11:58 +0400 Subject: [PATCH] Stops processing metroid's life after it's dead. Fixes issue #1463 Signed-off-by: comma --- code/modules/mob/living/carbon/metroid/life.dm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/code/modules/mob/living/carbon/metroid/life.dm b/code/modules/mob/living/carbon/metroid/life.dm index 79c9a1f1214..f1f8f58a91c 100644 --- a/code/modules/mob/living/carbon/metroid/life.dm +++ b/code/modules/mob/living/carbon/metroid/life.dm @@ -7,11 +7,13 @@ ..() + if(stat == 2) + return + var/datum/gas_mixture/environment // Added to prevent null location errors-- TLE if(src.loc) environment = loc.return_air() - //Apparently, the person who wrote this code designed it so that //blinded get reset each cycle and then get activated later in the //code. Very ugly. I dont care. Moving this stuff here so its easy