Fix QSI Link Range (#30332)

This commit is contained in:
Cojoke
2024-07-24 15:57:45 -05:00
committed by GitHub
parent f210325460
commit 620aed5939

View File

@@ -45,7 +45,7 @@ public sealed class SwapTeleporterSystem : EntitySystem
private void OnInteract(Entity<SwapTeleporterComponent> ent, ref AfterInteractEvent args)
{
var (uid, comp) = ent;
if (args.Target == null)
if (args.Target == null || !args.CanReach)
return;
var target = args.Target.Value;