Skip to content

Commit

Permalink
Merge pull request #174 from dnqbob/fix
Browse files Browse the repository at this point in the history
Fix the wrong usage of parameters in RA2PortableChrono
  • Loading branch information
MustaphaTR authored Dec 8, 2024
2 parents bdd31be + 1562c6f commit 5faff48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OpenRA.Mods.AS/Traits/Teleportation/RA2PortableChrono.cs
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ public void ResolveOrder(Actor self, Order order)
self.QueueActivity(move.MoveWithinRange(order.Target, WDist.FromCells(maximumDistance), targetLineColor: Info.TargetLineColor));
self.QueueActivity(
new RA2Teleport(
self, Info.TeleportType, directDestination, new List<CPos> { directDestination }, maximumDistance, Info.MaxTeleportDistance, true, () => CanTeleport));
self, Info.TeleportType, directDestination, new List<CPos> { directDestination }, Info.MaxSearchCellDistance, maximumDistance, true, () => CanTeleport));
self.QueueActivity(move.MoveTo(directDestination, 5, targetLineColor: Info.TargetLineColor));
self.ShowTargetLines();
}
Expand Down

0 comments on commit 5faff48

Please sign in to comment.