Readded the (seemingly unnecessary?) slash replacement for replaced paths.

This commit is contained in:
Ottermandias 2021-03-06 13:02:49 +01:00
parent d3af1d7ba2
commit 8fdafdcffc

View file

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