start removing weird ctors on Order

This commit is contained in:
Chris Forbes
2010-11-23 15:14:48 +13:00
parent 49ab704a84
commit 490b0801a0
16 changed files with 22 additions and 51 deletions

View File

@@ -79,7 +79,7 @@ namespace OpenRA.Mods.RA
&& a.HasTrait<Selectable>()).FirstOrDefault();
if (underCursor != null)
yield return new Order("ChronosphereSelect", world.LocalPlayer.PlayerActor, underCursor, false);
yield return new Order("ChronosphereSelect", world.LocalPlayer.PlayerActor, false) { TargetActor = underCursor };
}
yield break;