From 8b103c78c87bc5baa88b0fa4e814ea1d49dce8d4 Mon Sep 17 00:00:00 2001 From: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Date: Fri, 8 Jul 2022 23:05:42 +1000 Subject: [PATCH] Make wieldable use entity position (#9538) --- Content.Server/Wieldable/WieldableSystem.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Content.Server/Wieldable/WieldableSystem.cs b/Content.Server/Wieldable/WieldableSystem.cs index 2a8e86e86a..4bd5e3f38b 100644 --- a/Content.Server/Wieldable/WieldableSystem.cs +++ b/Content.Server/Wieldable/WieldableSystem.cs @@ -177,7 +177,7 @@ namespace Content.Server.Wieldable if (component.WieldSound != null) { - SoundSystem.Play(component.WieldSound.GetSound(), Filter.Pvs(uid)); + SoundSystem.Play(component.WieldSound.GetSound(), Filter.Pvs(uid), uid); } for (var i = 0; i < component.FreeHandsRequired; i++) @@ -207,7 +207,7 @@ namespace Content.Server.Wieldable { if (component.UnwieldSound != null) { - SoundSystem.Play(component.UnwieldSound.GetSound(), Filter.Pvs(uid)); + SoundSystem.Play(component.UnwieldSound.GetSound(), Filter.Pvs(uid), uid); } args.User.Value.PopupMessage(Loc.GetString("wieldable-component-failed-wield",