]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix RestrictedRange boundary (#22570)
authormetalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Sat, 16 Dec 2023 02:19:54 +0000 (13:19 +1100)
committerGitHub <noreply@github.com>
Sat, 16 Dec 2023 02:19:54 +0000 (18:19 -0800)
Content.Server/Salvage/RestrictedRangeSystem.cs

index b7a35fb1ce43b943b55216ed64a9f7c618c2ef08..f43d814538970f21895c5c99d31748f001eb20ca 100644 (file)
@@ -1,4 +1,5 @@
 using System.Numerics;
+using Content.Shared.Movement.Components;
 using Content.Shared.Physics;
 using Content.Shared.Salvage;
 using Robust.Shared.Map;
@@ -38,6 +39,7 @@ public sealed class RestrictedRangeSystem : SharedRestrictedRangeSystem
             collisionLayer: (int) (CollisionGroup.HighImpassable | CollisionGroup.Impassable | CollisionGroup.LowImpassable),
             body: boundaryPhysics);
         _physics.WakeBody(boundaryUid, body: boundaryPhysics);
+        AddComp<BoundaryComponent>(boundaryUid);
         return boundaryUid;
     }
 }