Refactor BurstDelay to BurstDelays

Allowing to set custom per-burst delays.
This commit is contained in:
reaperrr
2017-07-16 15:03:40 +02:00
parent 4ce2e82ff0
commit 834a40b18d
3 changed files with 17 additions and 3 deletions

View File

@@ -1092,6 +1092,11 @@ namespace OpenRA.Mods.Common.UtilityCommands
}
}
// Rename BurstDelay to BurstDelays
if (engineVersion < 20170818)
if (node.Key == "BurstDelay")
node.Key = "BurstDelays";
UpgradeWeaponRules(modData, engineVersion, ref node.Value.Nodes, node, depth + 1);
}
}