From 4a6e3783901336d23ebeb7b5e7dc7a477c776fcb Mon Sep 17 00:00:00 2001 From: reaperrr Date: Sun, 6 Nov 2016 17:25:33 +0100 Subject: [PATCH] Fix upgrade rule dates They were merged after prep was split off. --- OpenRA.Mods.Common/UtilityCommands/UpgradeRules.cs | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/OpenRA.Mods.Common/UtilityCommands/UpgradeRules.cs b/OpenRA.Mods.Common/UtilityCommands/UpgradeRules.cs index b04f124f06..6a3715c6f1 100644 --- a/OpenRA.Mods.Common/UtilityCommands/UpgradeRules.cs +++ b/OpenRA.Mods.Common/UtilityCommands/UpgradeRules.cs @@ -369,8 +369,7 @@ namespace OpenRA.Mods.Common.UtilityCommands } // Add a warning to add WithRearmAnimation to actors that might need it. - // Update rule added during prep-1609 stable period, date needs fixing after release. - if (engineVersion < 20160918 && depth == 2) + if (engineVersion < 20161020 && depth == 2) { if (node.Key == "RearmBuildings") foreach (var host in node.Value.Value.Split(',')) @@ -378,7 +377,7 @@ namespace OpenRA.Mods.Common.UtilityCommands } // Resource type properties were renamed, and support for tooltips added - if (engineVersion < 20160925) + if (engineVersion < 20161020) { if (node.Key.StartsWith("ResourceType")) { @@ -397,7 +396,7 @@ namespace OpenRA.Mods.Common.UtilityCommands } // Renamed AttackSequence to DefaultAttackSequence in WithInfantryBody. - if (engineVersion < 20161014) + if (engineVersion < 20161020) { if (node.Key == "WithInfantryBody") { @@ -408,7 +407,7 @@ namespace OpenRA.Mods.Common.UtilityCommands } // Move production description from Tooltip to Buildable - if (engineVersion < 20161016) + if (engineVersion < 20161020) { var tooltipChild = node.Value.Nodes.FirstOrDefault(n => n.Key == "Tooltip" || n.Key == "DisguiseToolTip"); if (tooltipChild != null)