From de88cb33f3f94e982e2de51c0b5f38c00c00f622 Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Fri, 9 Dec 2011 22:07:15 +1300 Subject: [PATCH] fix indent in Manifest --- OpenRA.FileFormats/Manifest.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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); }