diff --git a/OpenRA.FileFormats/Manifest.cs b/OpenRA.FileFormats/Manifest.cs index ec2d346f91..a1504bbc97 100644 --- a/OpenRA.FileFormats/Manifest.cs +++ b/OpenRA.FileFormats/Manifest.cs @@ -50,8 +50,10 @@ namespace OpenRA.FileFormats ChromeMetrics = YamlList(yaml, "ChromeMetrics"); LoadScreen = yaml["LoadScreen"]; - Fonts = yaml["Fonts"].NodesDict.ToDictionary(x => x.Key, x => Pair.New(x.Value.NodesDict["Font"].Value, - int.Parse(x.Value.NodesDict["Size"].Value))); + Fonts = yaml["Fonts"].NodesDict.ToDictionary(x => x.Key, + x => Pair.New(x.Value.NodesDict["Font"].Value, + int.Parse(x.Value.NodesDict["Size"].Value))); + if (yaml.ContainsKey("TileSize")) TileSize = int.Parse(yaml["TileSize"].Value); }