]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
npc can no longer attack you through a locker (#27677)
authorTyzemol <85772526+Tyzemol@users.noreply.github.com>
Sat, 4 May 2024 19:57:58 +0000 (00:57 +0500)
committerGitHub <noreply@github.com>
Sat, 4 May 2024 19:57:58 +0000 (21:57 +0200)
Content.Server/NPC/Systems/NPCUtilitySystem.cs

index e8fb54022ee1f6a993ae6530aa1e7c40c8b29d7d..a3b9aed57e3debf8a012e91d2130477150f1825d 100644 (file)
@@ -224,7 +224,7 @@ public sealed class NPCUtilitySystem : EntitySystem
                 {
                     if (TryComp<EntityStorageComponent>(container.Owner, out var storageComponent))
                     {
-                        if (storageComponent is { Open: false } && _weldable.IsWelded(container.Owner))
+                        if (storageComponent is { Open: false })
                         {
                             return 0.0f;
                         }