From 984dbc9a00161c7f381f89c3b1f94d2e1e04d17f Mon Sep 17 00:00:00 2001 From: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Date: Mon, 3 Apr 2023 00:08:15 +1000 Subject: [PATCH] Fix fly-by sound leak (#15070) --- Content.Client/Weapons/Ranged/Systems/FlyBySoundSystem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Client/Weapons/Ranged/Systems/FlyBySoundSystem.cs b/Content.Client/Weapons/Ranged/Systems/FlyBySoundSystem.cs index 1361880852..5e75795292 100644 --- a/Content.Client/Weapons/Ranged/Systems/FlyBySoundSystem.cs +++ b/Content.Client/Weapons/Ranged/Systems/FlyBySoundSystem.cs @@ -40,6 +40,6 @@ public sealed class FlyBySoundSystem : SharedFlyBySoundSystem } // Play attached to our entity because the projectile may immediately delete or the likes. - _audio.Play(component.Sound, Filter.Local(), attachedEnt.Value, false); + _audio.PlayPredicted(component.Sound, attachedEnt.Value, attachedEnt.Value); } }