Fix the build after a bad merge
Merging #9187 without rebasing it on post-#9182 bleed was a bad idea.
This commit is contained in:
@@ -36,7 +36,7 @@ namespace OpenRA
|
||||
var key = ((System.Collections.DictionaryEntry)kvp).Key;
|
||||
var value = ((System.Collections.DictionaryEntry)kvp).Value;
|
||||
|
||||
nodes.Add(new MiniYamlNode(FormatValue(key, key.GetType()), FormatValue(value, value.GetType())));
|
||||
nodes.Add(new MiniYamlNode(FormatValue(key), FormatValue(value)));
|
||||
}
|
||||
}
|
||||
else if (info.Attribute.FromYamlKey)
|
||||
@@ -114,8 +114,8 @@ namespace OpenRA
|
||||
var key = ((System.Collections.DictionaryEntry)kvp).Key;
|
||||
var value = ((System.Collections.DictionaryEntry)kvp).Value;
|
||||
|
||||
var formattedKey = FormatValue(key, key.GetType());
|
||||
var formattedValue = FormatValue(value, value.GetType());
|
||||
var formattedKey = FormatValue(key);
|
||||
var formattedValue = FormatValue(value);
|
||||
|
||||
result += "{0}: {1}{2}".F(formattedKey, formattedValue, Environment.NewLine);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user