AIs can no longer be pushed in disposal chutes (#16136)

This commit is contained in:
dearmochi
2021-06-07 20:16:23 +01:00
committed by GitHub
parent 5896bd2c8e
commit 3650a943a4
+1 -1
View File
@@ -286,7 +286,7 @@
return
/obj/machinery/disposal/deliveryChute/Bumped(atom/movable/AM) //Go straight into the chute
if(istype(AM, /obj/item/projectile)) return
if(istype(AM, /obj/item/projectile) || isAI(AM)) return
switch(dir)
if(NORTH)
if(AM.loc.y != src.loc.y+1) return