From bd8c6b1572928a18d721db3f41c95f38d4a91422 Mon Sep 17 00:00:00 2001 From: wraitii Date: Thu, 27 May 2021 08:30:27 +0000 Subject: [PATCH] Fix GetLoadedModsWIthVersions following 498f0d420b Accidentally broke it in 498f0d420b and didn't notice because D3968 fixes it again. This was SVN commit r25579. --- source/ps/Mod.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/ps/Mod.cpp b/source/ps/Mod.cpp index c871c0c6fa..3f57317201 100644 --- a/source/ps/Mod.cpp +++ b/source/ps/Mod.cpp @@ -331,7 +331,7 @@ JS::Value Mod::GetLoadedModsWithVersions(const ScriptInterface& scriptInterface) continue; } - loadedMods.emplace_back(std::vector{ it->m_Name, it->m_Version }); + loadedMods.emplace_back(std::vector{ it->m_Pathname, it->m_Version }); } ScriptRequest rq(scriptInterface); JS::RootedValue returnValue(rq.cx);