From 69a0c5b15ce9631f48df7813e80b5db5ebc9dcdc Mon Sep 17 00:00:00 2001 From: Firecage Date: Thu, 26 Sep 2019 02:08:29 +0200 Subject: [PATCH] =?UTF-8?q?Bike=20horns,=20golden=20horns,=20rubber=20duck?= =?UTF-8?q?s,=20and=20air=20horns=20no=20longe=E2=80=A6=20(#46690)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Bike horns no longer squeaks when crossed in Zero-G. * Flying over bikehorns no longer squeaks them. * Replaces the has_gravity() check. --- code/datums/components/squeak.dm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/datums/components/squeak.dm b/code/datums/components/squeak.dm index 0886e1093fb..1fc996710cb 100644 --- a/code/datums/components/squeak.dm +++ b/code/datums/components/squeak.dm @@ -65,6 +65,10 @@ return if(istype(AM, /obj/effect/dummy/phased_mob)) //don't squeek if they're in a phased/jaunting container. return + if(ismob(AM)) + var/mob/M = AM + if(M.movement_type & (FLYING|FLOATING)) + return var/atom/current_parent = parent if(isturf(current_parent.loc)) play_squeak()