From c0de572f3ea5f13f6a57f5a5b5c95c742e5149fe Mon Sep 17 00:00:00 2001 From: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Date: Sat, 16 Dec 2023 13:19:54 +1100 Subject: [PATCH] Fix RestrictedRange boundary (#22570) --- Content.Server/Salvage/RestrictedRangeSystem.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Content.Server/Salvage/RestrictedRangeSystem.cs b/Content.Server/Salvage/RestrictedRangeSystem.cs index b7a35fb1ce..f43d814538 100644 --- a/Content.Server/Salvage/RestrictedRangeSystem.cs +++ b/Content.Server/Salvage/RestrictedRangeSystem.cs @@ -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(boundaryUid); return boundaryUid; } }