Merge pull request #6105 from Heroman3003/climbybois

Fixes borgs being unable to use ladders
This commit is contained in:
Neerti
2019-04-22 00:26:44 -04:00
committed by VirgoBot
parent f507d4a26f
commit 9df9e135a6
2 changed files with 40 additions and 0 deletions

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>")