Minor speedups to movement: First Blood Part 2

This commit is contained in:
vuonojenmustaturska
2017-11-14 22:59:45 +02:00
committed by CitadelStationBot
parent 9c7da6a133
commit 8136148303
27 changed files with 48 additions and 63 deletions
+1 -1
View File
@@ -405,7 +405,7 @@
/obj/item/projectile/Crossed(atom/movable/AM) //A mob moving on a tile with a projectile is hit by it.
..()
if(isliving(AM) && (AM.density || AM == original) && !checkpass(PASSMOB))
if(isliving(AM) && (AM.density || AM == original) && !(src.pass_flags & PASSMOB))
Collide(AM)
/obj/item/projectile/Destroy()