fix empty array init style in Manifest

This commit is contained in:
Chris Forbes
2011-12-09 22:08:25 +13:00
parent de88cb33f3
commit 69a869a44d

View File

@@ -61,7 +61,7 @@ namespace OpenRA.FileFormats
static string[] YamlList(Dictionary<string, MiniYaml> yaml, string key)
{
if (!yaml.ContainsKey(key))
return new string[ 0 ];
return new string[] {};
return yaml[key].NodesDict.Keys.ToArray();
}