rename ore to the more generic name resources everywhere
This commit is contained in:
@@ -246,6 +246,12 @@ namespace OpenRA.Utility
|
||||
node.Value.Nodes.RemoveAll(n => n.Key == "TeslaInstantKills");
|
||||
}
|
||||
|
||||
if (engineVersion < 20140615)
|
||||
{
|
||||
if (depth == 1 && node.Key == "StoresOre")
|
||||
node.Key = "StoresResources";
|
||||
}
|
||||
|
||||
UpgradeActorRules(engineVersion, ref node.Value.Nodes, node, depth + 1);
|
||||
}
|
||||
}
|
||||
@@ -308,6 +314,12 @@ namespace OpenRA.Utility
|
||||
}
|
||||
}
|
||||
|
||||
if (engineVersion < 20140615)
|
||||
{
|
||||
if (depth == 2 && parentKey == "Warhead" && node.Key == "Ore" )
|
||||
node.Key = "DestroyResources";
|
||||
}
|
||||
|
||||
UpgradeWeaponRules(engineVersion, ref node.Value.Nodes, node, depth + 1);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user