Fix fly-by sound leak (#15070)

This commit is contained in:
metalgearsloth
2023-04-03 00:08:15 +10:00
committed by GitHub
parent 44f140a4e2
commit 984dbc9a00

View File

@@ -40,6 +40,6 @@ public sealed class FlyBySoundSystem : SharedFlyBySoundSystem
} }
// Play attached to our entity because the projectile may immediately delete or the likes. // 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);
} }
} }