From 1c3c4cacb4024f12ccf2f670a9300472d5ab660f Mon Sep 17 00:00:00 2001 From: Jarrod Doyle Date: Sun, 25 Aug 2024 09:49:27 +0100 Subject: [PATCH] Fix incorrect path search for OMs --- project/code/LGS/ResourcePathManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/code/LGS/ResourcePathManager.cs b/project/code/LGS/ResourcePathManager.cs index 7d2952b..97cb3e8 100644 --- a/project/code/LGS/ResourcePathManager.cs +++ b/project/code/LGS/ResourcePathManager.cs @@ -263,7 +263,7 @@ public class ResourcePathManager { MatchCasing = MatchCasing.CaseInsensitive, }; - foreach (var path in Directory.GetFiles(root, "*.mis", searchOptions)) + foreach (var path in Directory.GetFiles(omsPath, "*.mis", searchOptions)) { var baseName = Path.GetFileName(path).ToLower(); map.Add(baseName, path);