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)