Fixes #10418 - bots don't remover from stuns

This commit is contained in:
Kelenius
2015-08-04 12:41:32 +03:00
parent 70c302ad03
commit e935baf1d8

View File

@@ -29,11 +29,13 @@
/mob/living/bot/Life() /mob/living/bot/Life()
..() ..()
if(health <= 0)
death()
return
weakened = 0 weakened = 0
stunned = 0 stunned = 0
paralysis = 0 paralysis = 0
if(health <= 0) update_canmove()
death()
/mob/living/bot/updatehealth() /mob/living/bot/updatehealth()
if(status_flags & GODMODE) if(status_flags & GODMODE)