From 8f068561c3a45b12307f4143a8074b4f056e28d0 Mon Sep 17 00:00:00 2001 From: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Date: Sat, 21 Oct 2023 09:58:00 +1100 Subject: [PATCH] Fix rat king rummage audio (#21130) --- Content.Shared/RatKing/SharedRatKingSystem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Shared/RatKing/SharedRatKingSystem.cs b/Content.Shared/RatKing/SharedRatKingSystem.cs index 761619dc4ad..93293d09be2 100644 --- a/Content.Shared/RatKing/SharedRatKingSystem.cs +++ b/Content.Shared/RatKing/SharedRatKingSystem.cs @@ -130,7 +130,7 @@ private void OnDoAfterComplete(EntityUid uid, RatKingRummageableComponent compon component.Looted = true; Dirty(uid, component); - _audio.PlayPvs(component.Sound, uid); + _audio.PlayPredicted(component.Sound, uid, args.User); var spawn = PrototypeManager.Index(component.RummageLoot).Pick(Random); if (_net.IsServer)