From: ShadowCommander Date: Sat, 27 Apr 2024 06:28:17 +0000 (-0700) Subject: Fix prying error when opening locked airlocks (#27386) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=6eb681958be3bec1bf7798866237c0f2f79d98d2;p=space-station-14.git 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. --- 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); }