From c7a6d2312f1394ff198add545331707ae73fea15 Mon Sep 17 00:00:00 2001 From: wrexbe <81056464+wrexbe@users.noreply.github.com> Date: Sun, 30 Jan 2022 07:39:59 -0800 Subject: [PATCH] Fix being able to click things through walls sometimes (#6315) --- Content.Shared/Interaction/SharedInteractionSystem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Shared/Interaction/SharedInteractionSystem.cs b/Content.Shared/Interaction/SharedInteractionSystem.cs index 09cfd1cde2..fd85fe034b 100644 --- a/Content.Shared/Interaction/SharedInteractionSystem.cs +++ b/Content.Shared/Interaction/SharedInteractionSystem.cs @@ -345,7 +345,7 @@ namespace Content.Shared.Interaction var bBox = p.GetWorldAABB(); - if (bBox.Contains(origin.Position) || bBox.Contains(other.Position)) + if (bBox.Contains(other.Position)) { continue; }