From 177787e2ec8f2039ebf3307b5c65ab9c9bdcd240 Mon Sep 17 00:00:00 2001 From: ASpoonPlaysGames <66967891+ASpoonPlaysGames@users.noreply.github.com> Date: Mon, 19 Aug 2024 15:27:28 +0100 Subject: [PATCH] Fix alias path construction --- primedev/core/filesystem/rpakfilesystem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/primedev/core/filesystem/rpakfilesystem.cpp b/primedev/core/filesystem/rpakfilesystem.cpp index 2e7f0a5a9..5ceb9ea23 100644 --- a/primedev/core/filesystem/rpakfilesystem.cpp +++ b/primedev/core/filesystem/rpakfilesystem.cpp @@ -333,7 +333,7 @@ static void HandlePakAliases(std::string& originalPath) if (mod->RpakAliases.find(originalPath) != mod->RpakAliases.end()) { - originalPath = mod->RpakAliases[originalPath]; + originalPath = (mod->m_ModDirectory / "paks" / mod->RpakAliases[originalPath]).string(); return; } }