Fix being able to click things through walls sometimes (#6315)
This commit is contained in:
@@ -345,7 +345,7 @@ namespace Content.Shared.Interaction
|
|||||||
|
|
||||||
var bBox = p.GetWorldAABB();
|
var bBox = p.GetWorldAABB();
|
||||||
|
|
||||||
if (bBox.Contains(origin.Position) || bBox.Contains(other.Position))
|
if (bBox.Contains(other.Position))
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user