From 620aed59396049f5517512d2a3428a98e1c67c89 Mon Sep 17 00:00:00 2001 From: Cojoke <83733158+Cojoke-dot@users.noreply.github.com> Date: Wed, 24 Jul 2024 15:57:45 -0500 Subject: [PATCH] Fix QSI Link Range (#30332) --- Content.Shared/Teleportation/Systems/SwapTeleporterSystem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Shared/Teleportation/Systems/SwapTeleporterSystem.cs b/Content.Shared/Teleportation/Systems/SwapTeleporterSystem.cs index 15807794c3..3852f260f7 100644 --- a/Content.Shared/Teleportation/Systems/SwapTeleporterSystem.cs +++ b/Content.Shared/Teleportation/Systems/SwapTeleporterSystem.cs @@ -45,7 +45,7 @@ public sealed class SwapTeleporterSystem : EntitySystem private void OnInteract(Entity ent, ref AfterInteractEvent args) { var (uid, comp) = ent; - if (args.Target == null) + if (args.Target == null || !args.CanReach) return; var target = args.Target.Value;