From e935baf1d82f652cdf842c58e2ea27d51da1f3f0 Mon Sep 17 00:00:00 2001 From: Kelenius Date: Tue, 4 Aug 2015 12:41:32 +0300 Subject: [PATCH] Fixes #10418 - bots don't remover from stuns --- code/modules/mob/living/bot/bot.dm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/code/modules/mob/living/bot/bot.dm b/code/modules/mob/living/bot/bot.dm index 36110c600cb..a63e48b401b 100644 --- a/code/modules/mob/living/bot/bot.dm +++ b/code/modules/mob/living/bot/bot.dm @@ -29,11 +29,13 @@ /mob/living/bot/Life() ..() + if(health <= 0) + death() + return weakened = 0 stunned = 0 paralysis = 0 - if(health <= 0) - death() + update_canmove() /mob/living/bot/updatehealth() if(status_flags & GODMODE)