From b55606c37f44b9c7aced8ce6922242e003473ba0 Mon Sep 17 00:00:00 2001 From: dnqbob Date: Tue, 3 Oct 2023 10:00:42 +0800 Subject: [PATCH] ReinforceWithTransport: no hardcoded land facing --- OpenRA.Mods.Common/Scripting/Global/ReinforcementsGlobal.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRA.Mods.Common/Scripting/Global/ReinforcementsGlobal.cs b/OpenRA.Mods.Common/Scripting/Global/ReinforcementsGlobal.cs index 1f6a970d81..eaa6e9ac51 100644 --- a/OpenRA.Mods.Common/Scripting/Global/ReinforcementsGlobal.cs +++ b/OpenRA.Mods.Common/Scripting/Global/ReinforcementsGlobal.cs @@ -157,7 +157,7 @@ namespace OpenRA.Mods.Common.Scripting // 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)));