From 8fdafdcffc1eb5abff5405209b2ff59d20c417c5 Mon Sep 17 00:00:00 2001 From: Ottermandias Date: Sat, 6 Mar 2021 13:02:49 +0100 Subject: [PATCH] Readded the (seemingly unnecessary?) slash replacement for replaced paths. --- Penumbra/Mods/ModManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Penumbra/Mods/ModManager.cs b/Penumbra/Mods/ModManager.cs index f5e871ba..1ee07ffe 100644 --- a/Penumbra/Mods/ModManager.cs +++ b/Penumbra/Mods/ModManager.cs @@ -160,7 +160,7 @@ namespace Penumbra.Mods => SwappedFiles.TryGetValue( gameResourcePath, out var swappedPath ) ? swappedPath : null; public string? ResolveSwappedOrReplacementFilePath( GamePath gameResourcePath ) - => GetCandidateForGameFile( gameResourcePath )?.FullName ?? GetSwappedFilePath( gameResourcePath ) ?? null; + => GetCandidateForGameFile( gameResourcePath )?.FullName.Replace( '\\', '/' ) ?? GetSwappedFilePath( gameResourcePath ) ?? null; public void Dispose()