diff --git a/OpenRA.Game/MiniYaml.cs b/OpenRA.Game/MiniYaml.cs index 4a803e2455..f5af94378f 100644 --- a/OpenRA.Game/MiniYaml.cs +++ b/OpenRA.Game/MiniYaml.cs @@ -380,19 +380,6 @@ namespace OpenRA return resolved; } - /// - /// Merges any duplicate keys that are defined within the same set of nodes. - /// Does not resolve inheritance or node removals. - /// - static MiniYaml MergeSelfPartial(MiniYaml existingNodes) - { - // Nothing to do - if (existingNodes.Nodes == null || existingNodes.Nodes.Count == 0) - return existingNodes; - - return new MiniYaml(existingNodes.Value, MergeSelfPartial(existingNodes.Nodes)); - } - /// /// Merges any duplicate keys that are defined within the same set of nodes. /// Does not resolve inheritance or node removals.