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

@@ -76,8 +76,8 @@ namespace OpenRA.Mods.RA
&& a.HasTrait<IronCurtainable>()
&& a.HasTrait<Selectable>()).FirstOrDefault();
if( underCursor != null )
yield return new Order( "IronCurtain", underCursor.Owner.PlayerActor, underCursor, false );
if (underCursor != null)
yield return new Order("IronCurtain", underCursor.Owner.PlayerActor, false) { TargetActor = underCursor };
}
}