fix broken merging of yaml overrides in maps; we now have a strict mode and a liberal mode.
This commit is contained in:
@@ -29,7 +29,7 @@ namespace OpenRA.FileFormats
|
||||
Mods = mods;
|
||||
var yaml = mods
|
||||
.Select(m => MiniYaml.FromFile("mods/" + m + "/mod.yaml"))
|
||||
.Aggregate(MiniYaml.Merge);
|
||||
.Aggregate(MiniYaml.MergeLiberal);
|
||||
|
||||
// Todo: Use fieldloader
|
||||
Folders = YamlList(yaml, "Folders");
|
||||
|
||||
Reference in New Issue
Block a user