diff options
author | EladNLG <e1lad8955@gmail.com> | 2023-03-07 22:27:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-07 20:27:15 +0000 |
commit | 6f4c6f3e959977de0adfa0147b0279b89438f33a (patch) | |
tree | 686673864c38294fb9f843af0c9086720af5e886 | |
parent | ecb83ef17e10fc21eaaab6f568adb17b74d4a3bd (diff) | |
download | NorthstarLauncher-1.12.4-rc1.tar.gz NorthstarLauncher-1.12.4-rc1.zip |
me when case inconsistency (#437)v1.12.4-rc1v1.12.4
one line fix baby!
-rw-r--r-- | NorthstarDLL/squirrel/squirrel.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/NorthstarDLL/squirrel/squirrel.h b/NorthstarDLL/squirrel/squirrel.h index ce758d7c..5708c836 100644 --- a/NorthstarDLL/squirrel/squirrel.h +++ b/NorthstarDLL/squirrel/squirrel.h @@ -245,7 +245,7 @@ class SquirrelManagerBase sq_stackinfos(sqvm, 1 + depth, stackInfo); std::string sourceName = stackInfo._sourceName; std::replace(sourceName.begin(), sourceName.end(), '/', '\\'); - std::string filename = "scripts\\vscripts\\" + sourceName; + std::string filename = g_pModManager->NormaliseModFilePath(fs::path("scripts\\vscripts\\" + sourceName)); if (auto res = g_pModManager->m_ModFiles.find(filename); res != g_pModManager->m_ModFiles.end()) { return res->second.m_pOwningMod; |