Merge pull request #6879 from VOREStation/pol-mechz

Small mech tweaks
This commit is contained in:
Atermonera
2020-03-22 12:27:50 -07:00
committed by GitHub
5 changed files with 75 additions and 35 deletions
+4
View File
@@ -15,6 +15,10 @@
/mob/proc/zMove(direction)
if(eyeobj)
return eyeobj.zMove(direction)
if(istype(loc,/obj/mecha))
var/obj/mecha/mech = loc
return mech.relaymove(src,direction)
if(!can_ztravel())
to_chat(src, "<span class='warning'>You lack means of travel in that direction.</span>")
return