Merge pull request #15670 from deathride58/railingclimbfix
Makes railings climbable both ways (without issues. and in one single line!)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user