]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix prying door hacking protections (#20664)
authorchromiumboy <50505512+chromiumboy@users.noreply.github.com>
Sun, 1 Oct 2023 21:08:02 +0000 (16:08 -0500)
committerGitHub <noreply@github.com>
Sun, 1 Oct 2023 21:08:02 +0000 (13:08 -0800)
Content.Server/Construction/ConstructionSystem.Interactions.cs

index e6c0f039b021478e1561407c2df8941666339346..e2e99ad74eaaf99af1ac5d427041079ceb201d42 100644 (file)
@@ -9,6 +9,7 @@ using Content.Shared.Construction.EntitySystems;
 using Content.Shared.Construction.Steps;
 using Content.Shared.DoAfter;
 using Content.Shared.Interaction;
+using Content.Shared.Prying.Systems;
 using Content.Shared.Radio.EntitySystems;
 using Content.Shared.Tools.Components;
 using Robust.Shared.Containers;
@@ -37,7 +38,7 @@ namespace Content.Server.Construction
 
             // Event handling. Add your subscriptions here! Just make sure they're all handled by EnqueueEvent.
             SubscribeLocalEvent<ConstructionComponent, InteractUsingEvent>(EnqueueEvent,
-                new []{typeof(AnchorableSystem)},
+                new []{typeof(AnchorableSystem), typeof(PryingSystem) },
                 new []{typeof(EncryptionKeySystem)});
             SubscribeLocalEvent<ConstructionComponent, OnTemperatureChangeEvent>(EnqueueEvent);
             SubscribeLocalEvent<ConstructionComponent, PartAssemblyPartInsertedEvent>(EnqueueEvent);