Bike horns, golden horns, rubber ducks, and air horns no longe… (#46690)

* Bike horns no longer squeaks when crossed in Zero-G.

* Flying over bikehorns no longer squeaks them.

* Replaces the has_gravity() check.
This commit is contained in:
Firecage
2019-09-25 17:08:29 -07:00
committed by Rob Bailey
parent 05544466f6
commit 69a0c5b15c
+4
View File
@@ -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()