start removing weird ctors on Order
This commit is contained in:
@@ -138,7 +138,7 @@ namespace OpenRA.Mods.RA
|
||||
if( order is AttackOrderTargeter )
|
||||
{
|
||||
if( target.IsActor )
|
||||
return new Order( "Attack", self, target.Actor, queued );
|
||||
return new Order("Attack", self, queued) { TargetActor = target.Actor };
|
||||
else
|
||||
return new Order( "Attack", self, Util.CellContaining( target.CenterLocation ), queued );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user