Fix the first Land ctor not passing targetLineColor on

This commit is contained in:
abcdefg30
2022-01-04 21:08:12 +01:00
committed by reaperrr
parent 942a0c8712
commit 8ac2815c9e

View File

@@ -35,7 +35,7 @@ namespace OpenRA.Mods.Common.Activities
bool finishedApproach; bool finishedApproach;
public Land(Actor self, WAngle? facing = null, Color? targetLineColor = null) 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; assignTargetOnFirstRun = true;
} }