Mechs don't fit in disposal chutes

This commit is contained in:
Cyantime
2017-12-31 17:17:23 -05:00
parent c443875898
commit c0a446d106

View File

@@ -376,7 +376,7 @@
return
Bumped(var/atom/movable/AM) //Go straight into the chute
if(istype(AM, /obj/item/projectile) || istype(AM, /obj/effect)) return
if(istype(AM, /obj/item/projectile) || istype(AM, /obj/effect) || istype(AM, /obj/mecha)) return
switch(dir)
if(NORTH)
if(AM.loc.y != src.loc.y+1) return