Fixes jaunting mobs squeaking things.

This commit is contained in:
ShizCalev
2019-02-25 09:31:28 -05:00
parent aad4e3e59c
commit c4c5ece3ba
+2
View File
@@ -60,6 +60,8 @@
var/obj/item/projectile/P = AM
if(P.original != parent)
return
if(istype(AM, /obj/effect/dummy/phased_mob)) //don't squeek if they're in a phased/jaunting container.
return
var/atom/current_parent = parent
if(isturf(current_parent.loc))
play_squeak()