Merge pull request #4477 from Cyantime/mechpipe

Bars mechs from entering disposal chutes.
This commit is contained in:
Neerti
2018-01-02 03:16:50 -05:00
committed by GitHub
+1 -1
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