From ce55b0454e7ba9b2fd0d89a7e3cf123fd483e7a4 Mon Sep 17 00:00:00 2001 From: Paul Chote Date: Sat, 6 Feb 2016 20:41:29 +0000 Subject: [PATCH] Fix CheckChromeLogic lint test to load via the filesystem. --- OpenRA.Mods.Common/Lint/CheckChromeLogic.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRA.Mods.Common/Lint/CheckChromeLogic.cs b/OpenRA.Mods.Common/Lint/CheckChromeLogic.cs index ae6d56172c..bf11f26152 100644 --- a/OpenRA.Mods.Common/Lint/CheckChromeLogic.cs +++ b/OpenRA.Mods.Common/Lint/CheckChromeLogic.cs @@ -20,7 +20,7 @@ namespace OpenRA.Mods.Common.Lint public void Run(Action emitError, Action emitWarning) { foreach (var filename in Game.ModData.Manifest.ChromeLayout) - CheckInner(MiniYaml.FromFile(filename), filename, emitError); + CheckInner(MiniYaml.FromStream(Game.ModData.ModFiles.Open(filename)), filename, emitError); } void CheckInner(List nodes, string filename, Action emitError)