Upgrade rule for setting VTOL to true for CanHover actors

This commit is contained in:
reaperrr
2017-08-19 13:10:09 +02:00
committed by Matthias Mailänder
parent 3b01da737c
commit 28ffcfea3c
8 changed files with 15 additions and 1 deletions

View File

@@ -967,6 +967,10 @@ namespace OpenRA.Mods.Common.UtilityCommands
Console.WriteLine("Please check if your aircraft behave as intended or need manual adjustments.");
node.Value.Nodes.Add(new MiniYamlNode("TakeOffOnResupply", "true"));
}
// Upgrade rule for setting VTOL to true for CanHover actors
if (isHeli)
node.Value.Nodes.Add(new MiniYamlNode("VTOL", "true"));
}
}