Allow queued structure rallypoints.
This commit is contained in:
@@ -85,7 +85,8 @@ namespace OpenRA.Mods.Common.Traits
|
||||
if (reservedForAircraft.GetActorBelow() == self)
|
||||
{
|
||||
if (rallyPoint != null)
|
||||
reservedFor.QueueActivity(reservedForAircraft.MoveTo(rallyPoint.Location, null, targetLineColor: Color.Green));
|
||||
foreach (var cell in rallyPoint.Path)
|
||||
reservedFor.QueueActivity(reservedForAircraft.MoveTo(cell, 1, targetLineColor: Color.Green));
|
||||
else
|
||||
reservedFor.QueueActivity(new TakeOff(reservedFor));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user