From aee509ba4122543f0955cbc27d9f04342924d540 Mon Sep 17 00:00:00 2001 From: ike709 Date: Sat, 21 May 2022 15:35:47 -0500 Subject: [PATCH] Fix being able to access wires without opening the panel (#8335) Co-authored-by: ike709 --- 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 ba0c7a8783..3931a778e8 100644 --- a/Content.Server/Wires/WiresSystem.cs +++ b/Content.Server/Wires/WiresSystem.cs @@ -442,8 +442,8 @@ public sealed class WiresSystem : EntitySystem return; if (component.IsPanelOpen && - _toolSystem.HasQuality(args.Used, "Cutting", tool) || - _toolSystem.HasQuality(args.Used, "Pulsing", tool)) + (_toolSystem.HasQuality(args.Used, "Cutting", tool) || + _toolSystem.HasQuality(args.Used, "Pulsing", tool))) { if (EntityManager.TryGetComponent(args.User, out ActorComponent? actor)) {