From 1becf6f486a3a025613930c19fe4c96c67770422 Mon Sep 17 00:00:00 2001 From: Dip Date: Tue, 13 Oct 2020 16:46:36 -0300 Subject: [PATCH] turrets no longer target megafauna. --- code/game/machinery/porta_turret/portable_turret.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/machinery/porta_turret/portable_turret.dm b/code/game/machinery/porta_turret/portable_turret.dm index e20c991c8..1a9922d6d 100644 --- a/code/game/machinery/porta_turret/portable_turret.dm +++ b/code/game/machinery/porta_turret/portable_turret.dm @@ -369,7 +369,7 @@ if(check_anomalies)//if it's set to check for simple animals if(isanimal(A)) var/mob/living/simple_animal/SA = A - if(SA.stat || in_faction(SA)) //don't target if dead or in faction + if(SA.stat || in_faction(SA) || istype(SA, /mob/living/simple_animal/hostile/megafauna)) //don't target if dead or in faction continue targets += SA if(issilicon(A))