From b7739d1c7771f43103da79e1bd4ff099727291dc Mon Sep 17 00:00:00 2001 From: Poojawa Date: Thu, 21 Sep 2017 15:40:04 -0500 Subject: [PATCH] Update hostile.dm --- code/modules/mob/living/simple_animal/hostile/hostile.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/mob/living/simple_animal/hostile/hostile.dm b/code/modules/mob/living/simple_animal/hostile/hostile.dm index 4b5789f877..c8fbfd53fa 100644 --- a/code/modules/mob/living/simple_animal/hostile/hostile.dm +++ b/code/modules/mob/living/simple_animal/hostile/hostile.dm @@ -228,7 +228,7 @@ if(!target || !CanAttack(target)) LoseTarget() return 0 - if(isturf(target.loc)) + if(ismob(target.loc)) LoseTarget() return 0 if(target in possible_targets)