Add queuing support to RepairOrderGenerator for units.
This commit is contained in:
@@ -70,7 +70,10 @@ namespace OpenRA.Mods.Common.Orders
|
|||||||
if (repairBuilding == null)
|
if (repairBuilding == null)
|
||||||
yield break;
|
yield break;
|
||||||
|
|
||||||
yield return new Order(orderId, underCursor, Target.FromActor(repairBuilding), false) { VisualFeedbackTarget = Target.FromActor(underCursor) };
|
yield return new Order(orderId, underCursor, Target.FromActor(repairBuilding), mi.Modifiers.HasModifier(Modifiers.Shift))
|
||||||
|
{
|
||||||
|
VisualFeedbackTarget = Target.FromActor(underCursor)
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void Tick(World world)
|
protected override void Tick(World world)
|
||||||
|
|||||||
Reference in New Issue
Block a user