From: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Date: Sun, 2 Apr 2023 14:08:15 +0000 (+1000) Subject: Fix fly-by sound leak (#15070) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=984dbc9a00161c7f381f89c3b1f94d2e1e04d17f;p=space-station-14.git Fix fly-by sound leak (#15070) --- 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); } }