]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix prying error when opening locked airlocks (#27386)
authorShadowCommander <shadowjjt@gmail.com>
Sat, 27 Apr 2024 06:28:17 +0000 (23:28 -0700)
committerGitHub <noreply@github.com>
Sat, 27 Apr 2024 06:28:17 +0000 (16:28 +1000)
It would try to pry the door and fail to resolve a prying component on the entity trying to open the door.

Content.Shared/Prying/Systems/PryingSystem.cs

index 5a15057f1e394140e15e7d761a223907234aa397..ab87585c706f9ac250217627d48b30c1ec20b3cf 100644 (file)
@@ -107,7 +107,7 @@ public sealed class PryingSystem : EntitySystem
     {
         BeforePryEvent canev;
 
-        if (comp != null || Resolve(user, ref comp))
+        if (comp != null || Resolve(user, ref comp, false))
         {
             canev = new BeforePryEvent(user, comp.PryPowered, comp.Force);
         }