From 14ae5fd4287a7ea8d5c0c24a84b7113713c14d24 Mon Sep 17 00:00:00 2001 From: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Date: Tue, 20 Aug 2024 05:50:03 +1000 Subject: [PATCH] Bandaid wire sounds (#31067) Issue was tools was predicted but wires aren't so this would exclude user from audio. For now we just do the non-predicted version and I or someone else will fully predict wires later. --- Content.Server/Wires/WiresSystem.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Content.Server/Wires/WiresSystem.cs b/Content.Server/Wires/WiresSystem.cs index e4439ae1da..92dcbb504f 100644 --- a/Content.Server/Wires/WiresSystem.cs +++ b/Content.Server/Wires/WiresSystem.cs @@ -725,7 +725,7 @@ public sealed class WiresSystem : SharedWiresSystem break; } - Tool.PlayToolSound(toolEntity, tool, user); + Tool.PlayToolSound(toolEntity, tool, null); if (wire.Action == null || wire.Action.Cut(user, wire)) { wire.IsCut = true; @@ -746,7 +746,7 @@ public sealed class WiresSystem : SharedWiresSystem break; } - Tool.PlayToolSound(toolEntity, tool, user); + Tool.PlayToolSound(toolEntity, tool, null); if (wire.Action == null || wire.Action.Mend(user, wire)) { wire.IsCut = false; -- 2.52.0