Fix rat king rummage audio (#21130)
This commit is contained in:
@@ -130,7 +130,7 @@ public abstract class SharedRatKingSystem : EntitySystem
|
|||||||
|
|
||||||
component.Looted = true;
|
component.Looted = true;
|
||||||
Dirty(uid, component);
|
Dirty(uid, component);
|
||||||
_audio.PlayPvs(component.Sound, uid);
|
_audio.PlayPredicted(component.Sound, uid, args.User);
|
||||||
|
|
||||||
var spawn = PrototypeManager.Index<WeightedRandomEntityPrototype>(component.RummageLoot).Pick(Random);
|
var spawn = PrototypeManager.Index<WeightedRandomEntityPrototype>(component.RummageLoot).Pick(Random);
|
||||||
if (_net.IsServer)
|
if (_net.IsServer)
|
||||||
|
|||||||
Reference in New Issue
Block a user