Fix RestrictedRange boundary (#22570)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user