Fixes borgs being unable to use ladders

This commit is contained in:
Heroman3003
2019-04-17 13:04:36 +10:00
parent 6cffb5d358
commit 8a14c0eaf9

View File

@@ -68,6 +68,10 @@
if(target_ladder)
M.forceMove(get_turf(target_ladder))
/obj/machinery/power/supermatter/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>")