From e83478142759ea724107c914fc437e84f72f9ab9 Mon Sep 17 00:00:00 2001 From: phil235 Date: Thu, 2 Apr 2015 23:25:08 +0200 Subject: [PATCH] Fixes weakened/stunned/paralysis not going down naturally for aliens. --- code/modules/mob/living/life.dm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/modules/mob/living/life.dm b/code/modules/mob/living/life.dm index 89a2a13a753..598054d0c1d 100644 --- a/code/modules/mob/living/life.dm +++ b/code/modules/mob/living/life.dm @@ -96,14 +96,14 @@ //this updates all special effects: stunned, sleeping, weakened, druggy, stuttering, etc.. /mob/living/proc/handle_status_effects() if(paralysis) - AdjustParalysis(-1) + paralysis = max(paralysis-1,0) if(stunned) - AdjustStunned(-1) + stunned = max(stunned-1,0) if(!stunned) update_icons() if(weakened) - AdjustWeakened(-1) + weakened = max(weakened-1,0) if(!weakened) update_icons()