From 1ba81d7c97bc9ddcf85d41880d6806d6f62448db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matija=20Husti=C4=87?= Date: Sat, 10 Oct 2015 11:48:14 +0200 Subject: [PATCH] Fixes bad comment in UpgradeRules https://github.com/OpenRA/OpenRA/pull/8768/files#r41694572 --- OpenRA.Mods.Common/UtilityCommands/UpgradeRules.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/OpenRA.Mods.Common/UtilityCommands/UpgradeRules.cs b/OpenRA.Mods.Common/UtilityCommands/UpgradeRules.cs index 3bca6a0490..b022e125c8 100644 --- a/OpenRA.Mods.Common/UtilityCommands/UpgradeRules.cs +++ b/OpenRA.Mods.Common/UtilityCommands/UpgradeRules.cs @@ -2200,9 +2200,7 @@ namespace OpenRA.Mods.Common.UtilityCommands if (engineVersion < 20151005) { - // Move certain properties from Parachutable to new WithParachute trait - // Add dependency traits to actors implementing Parachutable - // Make otherwise targetable parachuting actors untargetable + // Units with AutoHeal have it replaced by AutoTarget var heal = node.Value.Nodes.FirstOrDefault(n => n.Key.StartsWith("AutoHeal")); if (heal != null) { @@ -2219,6 +2217,7 @@ namespace OpenRA.Mods.Common.UtilityCommands 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")); if (atkmedic != null) {