From: Cojoke <83733158+Cojoke-dot@users.noreply.github.com> Date: Wed, 24 Jul 2024 20:57:45 +0000 (-0500) Subject: Fix QSI Link Range (#30332) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=620aed59396049f5517512d2a3428a98e1c67c89;p=space-station-14.git Fix QSI Link Range (#30332) --- 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;