Cache trait look-ups in the constructor where possible for Air activities/traits
This commit is contained in:
@@ -141,7 +141,7 @@ namespace OpenRA.Mods.Common.Scripting
|
||||
if (heli != null)
|
||||
{
|
||||
transport.QueueActivity(new Turn(transport, heli.Info.InitialFacing));
|
||||
transport.QueueActivity(new HeliLand(true));
|
||||
transport.QueueActivity(new HeliLand(transport, true));
|
||||
transport.QueueActivity(new Wait(15));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user