diff --git a/OpenRA.Mods.RA/AI/HackyAI.cs b/OpenRA.Mods.RA/AI/HackyAI.cs index 9dcd109fd2..fedfb95ce6 100644 --- a/OpenRA.Mods.RA/AI/HackyAI.cs +++ b/OpenRA.Mods.RA/AI/HackyAI.cs @@ -51,13 +51,13 @@ namespace OpenRA.Mods.RA.AI [FieldLoader.LoadUsing("LoadBuildingLimits")] public readonly Dictionary BuildingLimits = null; - static object LoadList(MiniYaml y, string field) + static object LoadList(MiniYaml y, string field) { return y.NodesDict.ContainsKey(field) ? y.NodesDict[field].NodesDict.ToDictionary( a => a.Key, - a => FieldLoader.GetValue(field, a.Value.Value)) - : new Dictionary(); + a => FieldLoader.GetValue(field, a.Value.Value)) + : new Dictionary(); } static object LoadUnits(MiniYaml y) { return LoadList(y, "UnitsToBuild"); }