From 8ac2815c9e116c3483889fda2ee5f7b34f1fb9c0 Mon Sep 17 00:00:00 2001 From: abcdefg30 Date: Tue, 4 Jan 2022 21:08:12 +0100 Subject: [PATCH] Fix the first Land ctor not passing targetLineColor on --- OpenRA.Mods.Common/Activities/Air/Land.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRA.Mods.Common/Activities/Air/Land.cs b/OpenRA.Mods.Common/Activities/Air/Land.cs index 94be990557..1fcf8fa24a 100644 --- a/OpenRA.Mods.Common/Activities/Air/Land.cs +++ b/OpenRA.Mods.Common/Activities/Air/Land.cs @@ -35,7 +35,7 @@ namespace OpenRA.Mods.Common.Activities bool finishedApproach; public Land(Actor self, WAngle? facing = null, Color? targetLineColor = null) - : this(self, Target.Invalid, new WDist(-1), WVec.Zero, facing, null) + : this(self, Target.Invalid, new WDist(-1), WVec.Zero, facing, targetLineColor: targetLineColor) { assignTargetOnFirstRun = true; }