From: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Date: Mon, 19 Aug 2024 19:50:03 +0000 (+1000) Subject: Bandaid wire sounds (#31067) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=14ae5fd4287a7ea8d5c0c24a84b7113713c14d24;p=space-station-14.git 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. --- 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;