Fix incorrect path search for OMs

This commit is contained in:
Jarrod Doyle 2024-08-25 09:49:27 +01:00
parent 68f2a851f4
commit 1c3c4cacb4
Signed by: Jayrude
GPG Key ID: 38B57B16E7C0ADF7
1 changed files with 1 additions and 1 deletions

View File

@ -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);