From 3874d9d49dcf122dfd40639341d75c15b0a99e39 Mon Sep 17 00:00:00 2001 From: DeltaFire Date: Thu, 1 Jul 2021 02:24:37 +0200 Subject: [PATCH] mobility moment --- code/game/machinery/porta_turret/portable_turret.dm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/game/machinery/porta_turret/portable_turret.dm b/code/game/machinery/porta_turret/portable_turret.dm index aad64df6d9..d48690f003 100644 --- a/code/game/machinery/porta_turret/portable_turret.dm +++ b/code/game/machinery/porta_turret/portable_turret.dm @@ -459,11 +459,11 @@ else if(iscarbon(A)) var/mob/living/carbon/C = A - //If not emagged, only target carbons that can use items - if(mode != TURRET_LETHAL && (C.stat || C.handcuffed || !(C.mobility_flags & MOBILITY_USE))) + //If not on lethal, only target carbons that aren't cuffed nor stamcrit or just plain crit. + if(mode != TURRET_LETHAL && (C.stat || C.handcuffed || IS_STAMCRIT(C))) continue - //If emagged, target all but dead carbons + //If on lethal, target all but dead carbons if(mode == TURRET_LETHAL && C.stat == DEAD) continue