From 83b486b63fd23e149bb0112aac4800e63b1f33dc Mon Sep 17 00:00:00 2001 From: Tyzemol <85772526+Tyzemol@users.noreply.github.com> Date: Sun, 5 May 2024 00:57:58 +0500 Subject: [PATCH] npc can no longer attack you through a locker (#27677) --- Content.Server/NPC/Systems/NPCUtilitySystem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Server/NPC/Systems/NPCUtilitySystem.cs b/Content.Server/NPC/Systems/NPCUtilitySystem.cs index e8fb54022e..a3b9aed57e 100644 --- a/Content.Server/NPC/Systems/NPCUtilitySystem.cs +++ b/Content.Server/NPC/Systems/NPCUtilitySystem.cs @@ -224,7 +224,7 @@ public sealed class NPCUtilitySystem : EntitySystem { if (TryComp(container.Owner, out var storageComponent)) { - if (storageComponent is { Open: false } && _weldable.IsWelded(container.Owner)) + if (storageComponent is { Open: false }) { return 0.0f; }