Merge pull request #12068 from reaperrr/laser-features1

Add several features to LaserZap
This commit is contained in:
Oliver Brakmann
2016-10-09 15:24:55 +02:00
committed by GitHub
5 changed files with 90 additions and 17 deletions

View File

@@ -441,6 +441,13 @@ namespace OpenRA.Mods.Common.UtilityCommands
node.Key = "Speed";
}
// Rename LaserZap BeamDuration to just Duration
if (engineVersion < 20161009)
{
if (node.Key == "BeamDuration")
node.Key = "Duration";
}
UpgradeWeaponRules(modData, engineVersion, ref node.Value.Nodes, node, depth + 1);
}
}