From 0e7278a597174a87efef26c1586b8d392a7e5fd6 Mon Sep 17 00:00:00 2001 From: d3athrow Date: Sat, 15 Mar 2014 01:32:40 -0500 Subject: [PATCH] fix bats targetting their vampire --- code/modules/mob/living/simple_animal/hostile/bat.dm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/code/modules/mob/living/simple_animal/hostile/bat.dm b/code/modules/mob/living/simple_animal/hostile/bat.dm index 925062b94ff..5a4565a0b2e 100644 --- a/code/modules/mob/living/simple_animal/hostile/bat.dm +++ b/code/modules/mob/living/simple_animal/hostile/bat.dm @@ -51,6 +51,11 @@ if(.) emote("flutters towards [.]") +/mob/living/simple_animal/hostile/scarybat/Found(var/atom/A)//This is here as a potential override to pick a specific target if available + if(istype(A) && A == owner) + return 0 + return ..() + /mob/living/simple_animal/hostile/scarybat/AttackingTarget() . =..() var/mob/living/L = .