Do not force loaded game paths to lowercase.

This commit is contained in:
Ottermandias 2024-07-28 13:43:01 +02:00
parent bb4665c367
commit 4806f8dc3e

View file

@ -52,7 +52,7 @@ public static class SubMod
if (files != null)
foreach (var property in files.Properties())
{
if (Utf8GamePath.FromString(property.Name, out var p, true))
if (Utf8GamePath.FromString(property.Name, out var p))
data.Files.TryAdd(p, new FullPath(basePath, property.Value.ToObject<Utf8RelPath>()));
}
@ -60,7 +60,7 @@ public static class SubMod
if (swaps != null)
foreach (var property in swaps.Properties())
{
if (Utf8GamePath.FromString(property.Name, out var p, true))
if (Utf8GamePath.FromString(property.Name, out var p))
data.FileSwaps.TryAdd(p, new FullPath(property.Value.ToObject<string>()!));
}