Skip to content

Commit

Permalink
Fix QSI Link Range (space-wizards#30332)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cojoke-dot authored Jul 24, 2024
1 parent f210325 commit 620aed5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public override void Initialize()
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;
Expand Down

0 comments on commit 620aed5

Please sign in to comment.