From 011b9a6c1f045774308f3641e028f91bae77bbaf Mon Sep 17 00:00:00 2001 From: Zuhayr Date: Sat, 27 Dec 2014 09:20:12 +1030 Subject: [PATCH] Amending stun commit. Stun will properly be set to 0 if the species has NO_PAIN. --- code/modules/mob/living/carbon/human/life.dm | 1 + 1 file changed, 1 insertion(+) diff --git a/code/modules/mob/living/carbon/human/life.dm b/code/modules/mob/living/carbon/human/life.dm index 3a9c32451e..f4dcc34ddd 100644 --- a/code/modules/mob/living/carbon/human/life.dm +++ b/code/modules/mob/living/carbon/human/life.dm @@ -1754,6 +1754,7 @@ /mob/living/carbon/human/handle_stunned() if(species.flags & NO_PAIN) + stunned = 0 return 0 if(..()) speech_problem_flag = 1