diff --git a/OpenRA.Mods.Common/Activities/Move/Move.cs b/OpenRA.Mods.Common/Activities/Move/Move.cs index 56ad2d55b4..065814a662 100644 --- a/OpenRA.Mods.Common/Activities/Move/Move.cs +++ b/OpenRA.Mods.Common/Activities/Move/Move.cs @@ -376,7 +376,8 @@ namespace OpenRA.Mods.Common.Activities public override IEnumerable TargetLineNodes(Actor self) { - if (targetLineColor != null) + // destination might be initialized with null, but will be set in a subsequent tick + if (targetLineColor != null && destination != null) yield return new TargetLineNode(Target.FromCell(self.World, destination.Value), targetLineColor.Value); }