From 02708d9333b5ca9b41d89c4725efb8fd2d67b0d1 Mon Sep 17 00:00:00 2001 From: GDN <96800819+GDNgit@users.noreply.github.com> Date: Mon, 5 Jun 2023 05:44:26 -0500 Subject: [PATCH] All living mobs can now go through security holobarrier signs (#21048) --- code/game/objects/structures/holosigns.dm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/game/objects/structures/holosigns.dm b/code/game/objects/structures/holosigns.dm index fa923e2898a..d94ab469ada 100644 --- a/code/game/objects/structures/holosigns.dm +++ b/code/game/objects/structures/holosigns.dm @@ -62,9 +62,9 @@ return TRUE if(mover.pass_flags & (PASSGLASS|PASSTABLE|PASSGRILLE)) return TRUE - if(iscarbon(mover)) - var/mob/living/carbon/C = mover - if(allow_walk && (C.m_intent == MOVE_INTENT_WALK || (C.pulledby && C.pulledby.m_intent == MOVE_INTENT_WALK))) + if(isliving(mover)) + var/mob/living/walker = mover + if(allow_walk && (walker.m_intent == MOVE_INTENT_WALK || (walker.pulledby && walker.pulledby.m_intent == MOVE_INTENT_WALK))) return TRUE /obj/structure/holosign/barrier/engineering