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 2ceeb60 commit a22503aCopy full SHA for a22503a
Lua/LuaAdapters.cpp
@@ -307,7 +307,7 @@ namespace RTE {
307
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
308
309
bool LuaAdaptersMovableObject::AddScript(MovableObject *luaSelfObject, const std::string &scriptPath) {
310
- switch (std::string correctedScriptPath = g_PresetMan.GetFullModulePath(scriptPath); luaSelfObject->LoadScript(luaSelfObject->CorrectBackslashesInPath(correctedScriptPath))) {
+ switch (std::string correctedScriptPath = g_PresetMan.GetFullModulePath(scriptPath); luaSelfObject->LoadScript(correctedScriptPath)) {
311
case 0:
312
return true;
313
case -1:
0 commit comments