We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ce229e commit 81c1d45Copy full SHA for 81c1d45
Managers/LuaMan.cpp
@@ -542,7 +542,7 @@ namespace RTE {
542
return -1;
543
}
544
545
- std::string fullPath = System::GetWorkingDirectory() + fileName;
+ std::string fullPath = System::GetWorkingDirectory() + g_PresetMan.GetFullModulePath(fileName);
546
if ((fullPath.find("..") == std::string::npos) && (fullPath.find(System::GetModulePackageExtension()) != std::string::npos)) {
547
548
#ifdef _WIN32
0 commit comments