From 6eb681958be3bec1bf7798866237c0f2f79d98d2 Mon Sep 17 00:00:00 2001 From: ShadowCommander Date: Fri, 26 Apr 2024 23:28:17 -0700 Subject: [PATCH] Fix prying error when opening locked airlocks (#27386) 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Shared/Prying/Systems/PryingSystem.cs b/Content.Shared/Prying/Systems/PryingSystem.cs index 5a15057f1e..ab87585c70 100644 --- a/Content.Shared/Prying/Systems/PryingSystem.cs +++ b/Content.Shared/Prying/Systems/PryingSystem.cs @@ -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); } -- 2.52.0