Fix rat king rummage audio (#21130)

This commit is contained in:
metalgearsloth 2023-10-21 09:58:00 +11:00 committed by Debug
parent 8972f14065
commit 043e1ed07f
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ public abstract class SharedRatKingSystem : EntitySystem
component.Looted = true;
Dirty(uid, component);
_audio.PlayPvs(component.Sound, uid);
_audio.PlayPredicted(component.Sound, uid, args.User);
var spawn = PrototypeManager.Index<WeightedRandomEntityPrototype>(component.RummageLoot).Pick(Random);
if (_net.IsServer)