Streamline Land activity
Removed some redundant parameters, some redundant overloads and made Land always consider LandAltitude relative to target.
This commit is contained in:
@@ -183,11 +183,11 @@ namespace OpenRA.Mods.Common.Scripting
|
||||
Move(transport, destination);
|
||||
|
||||
transport.QueueActivity(new Turn(transport, aircraft.Info.InitialFacing));
|
||||
transport.QueueActivity(new Land(transport, true));
|
||||
transport.QueueActivity(new Land(transport));
|
||||
}
|
||||
else
|
||||
{
|
||||
transport.QueueActivity(new Land(transport, Target.FromCell(transport.World, destination), true));
|
||||
transport.QueueActivity(new Land(transport, Target.FromCell(transport.World, destination)));
|
||||
}
|
||||
|
||||
transport.QueueActivity(new Wait(15));
|
||||
|
||||
Reference in New Issue
Block a user