From 3fd9dbe54cbc7ab27a859e9996c749172252d8de Mon Sep 17 00:00:00 2001 From: vincibrv Date: Tue, 4 Mar 2025 11:22:23 +0100 Subject: [PATCH] no autoclimb to open space --- code/game/objects/structures/barricade/handrail.dm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/code/game/objects/structures/barricade/handrail.dm b/code/game/objects/structures/barricade/handrail.dm index 7709bd9d3c10..93d97748a17b 100644 --- a/code/game/objects/structures/barricade/handrail.dm +++ b/code/game/objects/structures/barricade/handrail.dm @@ -55,6 +55,11 @@ /obj/structure/barricade/handrail/Collided(atom/movable/movable) if(!ismob(movable)) return ..() + var/mob/living/climber = movable + + var/turf/turf = get_turf(get_step(get_turf(src), dir)) + if(istype(turf, /turf/open_space)) + return ..() if(istype(movable, /mob/living/carbon/xenomorph/ravager) || istype(movable, /mob/living/carbon/xenomorph/crusher)) var/mob/living/carbon/xenomorph/xenomorph = movable @@ -69,7 +74,7 @@ if(movable.last_bumped == world.time) return ..() - var/mob/living/climber = movable + if(climber.a_intent != INTENT_HARM) return ..()