Skip to content

Commit

Permalink
Fix rat king rummage audio (#21130)
Browse files Browse the repository at this point in the history
  • Loading branch information
metalgearsloth authored Oct 20, 2023
1 parent 77d9876 commit 8f06856
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Content.Shared/RatKing/SharedRatKingSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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<WeightedRandomEntityPrototype>(component.RummageLoot).Pick(Random);
if (_net.IsServer)
Expand Down

0 comments on commit 8f06856

Please sign in to comment.