Fixes bad comment in UpgradeRules
https://github.com/OpenRA/OpenRA/pull/8768/files#r41694572
This commit is contained in:
@@ -2200,9 +2200,7 @@ namespace OpenRA.Mods.Common.UtilityCommands
|
|||||||
|
|
||||||
if (engineVersion < 20151005)
|
if (engineVersion < 20151005)
|
||||||
{
|
{
|
||||||
// Move certain properties from Parachutable to new WithParachute trait
|
// Units with AutoHeal have it replaced by AutoTarget
|
||||||
// Add dependency traits to actors implementing Parachutable
|
|
||||||
// Make otherwise targetable parachuting actors untargetable
|
|
||||||
var heal = node.Value.Nodes.FirstOrDefault(n => n.Key.StartsWith("AutoHeal"));
|
var heal = node.Value.Nodes.FirstOrDefault(n => n.Key.StartsWith("AutoHeal"));
|
||||||
if (heal != null)
|
if (heal != null)
|
||||||
{
|
{
|
||||||
@@ -2219,6 +2217,7 @@ namespace OpenRA.Mods.Common.UtilityCommands
|
|||||||
node.Value.Nodes.Remove(heal);
|
node.Value.Nodes.Remove(heal);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Units with AttackMedic have it replaced by an appropriate AttackFrontal
|
||||||
var atkmedic = node.Value.Nodes.FirstOrDefault(n => n.Key.StartsWith("AttackMedic"));
|
var atkmedic = node.Value.Nodes.FirstOrDefault(n => n.Key.StartsWith("AttackMedic"));
|
||||||
if (atkmedic != null)
|
if (atkmedic != null)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user