Skip to content

Commit

Permalink
ReinforceWithTransport: no hardcoded land facing
Browse files Browse the repository at this point in the history
  • Loading branch information
dnqbob authored and PunkPun committed Oct 9, 2023
1 parent 12fb091 commit b55606c
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -157,7 +157,7 @@ public Actor[] Reinforce(Player owner, string[] actorTypes, CPos[] entryPath, in
// Scripted cargo aircraft must turn to default position before unloading.
// TODO: pass facing through UnloadCargo instead.
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)
transport.QueueActivity(new UnloadCargo(transport, WDist.FromCells(dropRange)));
Expand Down

0 comments on commit b55606c

Please sign in to comment.