From ca70ac1efe4369badb64f4fc841a70a275db5e8d Mon Sep 17 00:00:00 2001 From: PsiOmega Date: Thu, 2 Apr 2015 09:47:20 +0200 Subject: [PATCH] Fixes #8582. simple_animal/Life() did not terminate properly on death. Caused issues with bears that would update their icons if Life() returned true (despite having called death). --- code/modules/mob/living/simple_animal/simple_animal.dm | 1 + 1 file changed, 1 insertion(+) diff --git a/code/modules/mob/living/simple_animal/simple_animal.dm b/code/modules/mob/living/simple_animal/simple_animal.dm index 2dcb99b091..029abc4efc 100644 --- a/code/modules/mob/living/simple_animal/simple_animal.dm +++ b/code/modules/mob/living/simple_animal/simple_animal.dm @@ -81,6 +81,7 @@ if(health < 1) death() + return if(health > maxHealth) health = maxHealth