Fixes being unable to climb ladders you're already on

This commit is contained in:
Heroman
2019-04-08 07:09:18 +10:00
parent 84f3fa0a74
commit 86a98230b9
+1 -1
View File
@@ -48,7 +48,7 @@
var/obj/structure/ladder/target_ladder = getTargetLadder(M)
if(!target_ladder)
return
if(!M.Move(get_turf(src)))
if(!(M.loc == loc) && !M.Move(get_turf(src)))
to_chat(M, "<span class='notice'>You fail to reach \the [src].</span>")
return