Added: More constructor overloads for Order (accepting a queued boolean now)
Added: Changed all IssueOrders to make use of the IOrderTargeter.IsQueued Added: A 'hack' for SetChronoTankDestination so it also sets the queued value
This commit is contained in:
@@ -357,7 +357,7 @@ namespace OpenRA.Mods.RA
|
||||
range = Math.Max(range, loopCount / 2);
|
||||
if (loopCount > 10) return false;
|
||||
} while (!a.Trait<IMove>().CanEnterCell(xy) && xy != a.Location);
|
||||
world.IssueOrder(new Order("AttackMove", a, xy));
|
||||
world.IssueOrder(new Order("AttackMove", a, xy, false));
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user