From b3e55c5e226b0ca5542921076ad84f4c7955154f Mon Sep 17 00:00:00 2001 From: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Date: Sat, 17 Dec 2022 14:51:30 +1100 Subject: [PATCH] Don't allow non-hard anchor overlap (#12890) --- Content.Server/Construction/AnchorableSystem.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Content.Server/Construction/AnchorableSystem.cs b/Content.Server/Construction/AnchorableSystem.cs index 3020bb12dd..cfe8e5ea81 100644 --- a/Content.Server/Construction/AnchorableSystem.cs +++ b/Content.Server/Construction/AnchorableSystem.cs @@ -11,6 +11,7 @@ using Content.Shared.Examine; using Content.Shared.Pulling.Components; using Content.Shared.Tools.Components; using Robust.Shared.Map; +using Robust.Shared.Physics; using Robust.Shared.Physics.Components; using Robust.Shared.Player; @@ -122,7 +123,7 @@ namespace Content.Server.Construction { if (!bodyQuery.TryGetComponent(ent, out var body) || !body.CanCollide || - !body.Hard) + (!body.Hard && body.BodyType != BodyType.Static)) { continue; }