diff --git a/Content.Shared/Interaction/SharedInteractionSystem.cs b/Content.Shared/Interaction/SharedInteractionSystem.cs index 2440faacbb..88342f9a2d 100644 --- a/Content.Shared/Interaction/SharedInteractionSystem.cs +++ b/Content.Shared/Interaction/SharedInteractionSystem.cs @@ -292,12 +292,11 @@ namespace Content.Shared.Interaction Ignored? predicate = null, bool ignoreInsideBlocker = false) { - if (!origin.InRange(other, range)) return false; + if (range > 0f && !origin.InRange(other, range)) return false; var dir = other.Position - origin.Position; if (dir.LengthSquared.Equals(0f)) return true; - if (range > 0f && !(dir.LengthSquared <= range * range)) return false; predicate ??= _ => false;