From b8a168b3523ffa0033e6f9777f1e3f27a227221c Mon Sep 17 00:00:00 2001 From: cooolbros Date: Sun, 31 Dec 2023 12:42:30 +1100 Subject: [PATCH] Normalize #base paths --- src/HUDMerger/Extensions/KeyValuesExtensions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/HUDMerger/Extensions/KeyValuesExtensions.cs b/src/HUDMerger/Extensions/KeyValuesExtensions.cs index 5943862..667d66c 100644 --- a/src/HUDMerger/Extensions/KeyValuesExtensions.cs +++ b/src/HUDMerger/Extensions/KeyValuesExtensions.cs @@ -12,7 +12,7 @@ public static IEnumerable BaseFiles(this KeyValues source) { return source .Where((kv) => StringComparer.OrdinalIgnoreCase.Equals(kv.Key, "#base")) - .Select((kv) => kv.Value) + .Select((kv) => App.PathSeparatorRegex().Replace(kv.Value, "\\")) .OfType(); }