Merge pull request #4159 from CHOMPStation2/upstream-merge-12583

[MIRROR] [MIRROR] Fixes catwalks making footsteps on everything
This commit is contained in:
Nadyr
2022-05-01 17:14:50 -04:00
committed by GitHub
+1 -1
View File
@@ -128,7 +128,7 @@
new /obj/item/stack/rods(get_turf(src))
Destroy()
/obj/structure/catwalk/Crossed(atom/movable/AM as mob|obj)
/obj/structure/catwalk/Crossed(atom/movable/AM)
. = ..()
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)