Merge pull request #15670 from deathride58/railingclimbfix

Makes railings climbable both ways (without issues. and in one single line!)
This commit is contained in:
Lin
2022-06-07 16:36:19 +00:00
committed by GitHub
+1 -1
View File
@@ -65,7 +65,7 @@
/obj/structure/proc/do_climb(atom/movable/A)
if(climbable)
density = FALSE
. = step(A,get_dir(A,src.loc))
. = step(A, (A.loc == loc ? dir : get_dir(A,src.loc)))
density = TRUE
/obj/structure/proc/climb_structure(mob/living/user)