From: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Date: Sat, 16 Dec 2023 02:19:54 +0000 (+1100) Subject: Fix RestrictedRange boundary (#22570) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=c0de572f3ea5f13f6a57f5a5b5c95c742e5149fe;p=space-station-14.git Fix RestrictedRange boundary (#22570) --- 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; } }