mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 00:29:02 +01:00
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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user