Skip to content

Commit

Permalink
Fix the first Land ctor not passing targetLineColor on
Browse files Browse the repository at this point in the history
  • Loading branch information
abcdefg30 authored and reaperrr committed Jan 7, 2022
1 parent 942a0c8 commit 8ac2815
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OpenRA.Mods.Common/Activities/Air/Land.cs
Expand Up @@ -35,7 +35,7 @@ public class Land : Activity
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;
}
Expand Down

0 comments on commit 8ac2815

Please sign in to comment.