Fix rat king rummage audio (#21130)
This commit is contained in:
parent
8972f14065
commit
043e1ed07f
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue