diff --git a/code/game/machinery/portable_turret.dm b/code/game/machinery/portable_turret.dm index 141ec913d30..e0ef761e988 100644 --- a/code/game/machinery/portable_turret.dm +++ b/code/game/machinery/portable_turret.dm @@ -554,7 +554,6 @@ invisibility = 2 icon_state = "[base_icon_state][off_state]" - /obj/machinery/porta_turret/proc/assess_perp(mob/living/carbon/human/perp) var/threatcount = 0 //the integer returned @@ -607,6 +606,8 @@ return threatcount +/obj/machinery/porta_turret/ai/assess_perp(mob/living/carbon/human/perp) + return 10 //AI turrets shoot at everything not in their faction /obj/machinery/porta_turret/proc/in_faction(mob/target) if(!(faction in target.faction))