From c4c5ece3baa0a3bddf02fce7826eaa8bc4b4f24a Mon Sep 17 00:00:00 2001 From: ShizCalev Date: Sun, 24 Feb 2019 19:30:26 -0500 Subject: [PATCH] Fixes jaunting mobs squeaking things. --- code/datums/components/squeak.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/datums/components/squeak.dm b/code/datums/components/squeak.dm index af7cff6a0fb..a29a8cb9ff9 100644 --- a/code/datums/components/squeak.dm +++ b/code/datums/components/squeak.dm @@ -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()