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)