Merge pull request #5117 from VOREStation/upstream-merge-6105

[MIRROR] Fixes borgs being unable to use ladders
This commit is contained in:
Novacat
2019-04-22 01:26:46 -04:00
committed by GitHub
2 changed files with 40 additions and 0 deletions
+4
View File
@@ -68,6 +68,10 @@
if(target_ladder)
M.forceMove(get_turf(target_ladder))
/obj/structure/ladder/attack_robot(var/mob/M)
attack_hand(M)
return
/obj/structure/ladder/proc/getTargetLadder(var/mob/M)
if((!target_up && !target_down) || (target_up && !istype(target_up.loc, /turf) || (target_down && !istype(target_down.loc,/turf))))
to_chat(M, "<span class='notice'>\The [src] is incomplete and can't be climbed.</span>")