Merge pull request #13174 from reaperrr/ts-floater

Add Tiberium Floater to TS
This commit is contained in:
atlimit8
2017-04-23 21:38:27 -05:00
committed by GitHub
15 changed files with 265 additions and 170 deletions

View File

@@ -596,6 +596,11 @@ namespace OpenRA.Mods.Common.UtilityCommands
RenameNodeKey(node, "-AcceptsDeliveredCash");
}
// Add random sound support to AmbientSound
if (engineVersion < 20170422)
if (node.Key == "SoundFile" && parent.Key.StartsWith("AmbientSound", StringComparison.Ordinal))
RenameNodeKey(node, "SoundFiles");
UpgradeActorRules(modData, engineVersion, ref node.Value.Nodes, node, depth + 1);
}