ReinforceWithTransport: no hardcoded land facing
This commit is contained in:
@@ -157,7 +157,7 @@ namespace OpenRA.Mods.Common.Scripting
|
|||||||
// Scripted cargo aircraft must turn to default position before unloading.
|
// Scripted cargo aircraft must turn to default position before unloading.
|
||||||
// TODO: pass facing through UnloadCargo instead.
|
// TODO: pass facing through UnloadCargo instead.
|
||||||
if (aircraft != null)
|
if (aircraft != null)
|
||||||
transport.QueueActivity(new Land(transport, Target.FromCell(transport.World, entryPath.Last()), WDist.FromCells(dropRange), aircraft.Info.InitialFacing));
|
transport.QueueActivity(new Land(transport, Target.FromCell(transport.World, entryPath.Last()), WDist.FromCells(dropRange)));
|
||||||
|
|
||||||
if (cargo != null)
|
if (cargo != null)
|
||||||
transport.QueueActivity(new UnloadCargo(transport, WDist.FromCells(dropRange)));
|
transport.QueueActivity(new UnloadCargo(transport, WDist.FromCells(dropRange)));
|
||||||
|
|||||||
Reference in New Issue
Block a user