From 051ec9ffe400bd31f302c151e7ec06f790c0ca47 Mon Sep 17 00:00:00 2001 From: Rodey125 <55065395+Rodey125@users.noreply.github.com> Date: Tue, 10 Sep 2019 10:58:09 -0500 Subject: [PATCH] Adds AttackingTarget() to ranged holoparasite (#46412) * Adds AttackingTarget() to ranged holoparasite * removes some shitty code --- .../mob/living/simple_animal/guardian/types/ranged.dm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/code/modules/mob/living/simple_animal/guardian/types/ranged.dm b/code/modules/mob/living/simple_animal/guardian/types/ranged.dm index 5adcc8b2924..9619d657917 100644 --- a/code/modules/mob/living/simple_animal/guardian/types/ranged.dm +++ b/code/modules/mob/living/simple_animal/guardian/types/ranged.dm @@ -130,4 +130,9 @@ /mob/living/simple_animal/hostile/guardian/ranged/Recall(forced) // To stop scout mode from moving when recalled incorporeal_move = FALSE - . = ..() \ No newline at end of file + . = ..() + +/mob/living/simple_animal/hostile/guardian/ranged/AttackingTarget() + if(toggle) + return + ..()