Fix fly-by sound leak (#15070)
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user