mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-08-26 06:39:22 +01:00
Fixes catwalks making footsteps on everything
Fixes catwalks making footstep sounds on literally anything that crosses them, including ghosts and projectiles and everything else that definitely shouldn't be making footsteps.
This commit is contained in:
@@ -120,9 +120,9 @@
|
||||
new /obj/item/stack/rods(get_turf(src))
|
||||
Destroy()
|
||||
|
||||
/obj/structure/catwalk/Crossed()
|
||||
/obj/structure/catwalk/Crossed(atom/movable/AM as mob|obj)
|
||||
. = ..()
|
||||
if(isliving(usr) && !usr.is_incorporeal())
|
||||
if(isliving(AM) && !AM.is_incorporeal())
|
||||
playsound(src, pick('sound/effects/footstep/catwalk1.ogg', 'sound/effects/footstep/catwalk2.ogg', 'sound/effects/footstep/catwalk3.ogg', 'sound/effects/footstep/catwalk4.ogg', 'sound/effects/footstep/catwalk5.ogg'), 25, 1)
|
||||
|
||||
/obj/effect/catwalk_plated
|
||||
|
||||
Reference in New Issue
Block a user