Fix rat king rummage audio (#21130)

This commit is contained in:
metalgearsloth
2023-10-21 09:58:00 +11:00
committed by GitHub
parent 77d9876a2f
commit 8f068561c3

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)