diff options
author | Mnikolenko Productengine <mnikolenko@productengine.com> | 2024-09-29 18:48:24 +0300 |
---|---|---|
committer | Mnikolenko Productengine <mnikolenko@productengine.com> | 2024-09-29 18:48:24 +0300 |
commit | f96afdd7a8d254185bd55cf981247a34b5332c33 (patch) | |
tree | c8e29959d8b57384d88b2b52fa5e3cb532141193 /indra/newview/llviewermenu.cpp | |
parent | a0157be331eda76af3be6a85edac2f3ee4497259 (diff) |
Clear redundant pathing code
Diffstat (limited to 'indra/newview/llviewermenu.cpp')
-rw-r--r-- | indra/newview/llviewermenu.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/indra/newview/llviewermenu.cpp b/indra/newview/llviewermenu.cpp index 2138da4c64..2d94b4da9f 100644 --- a/indra/newview/llviewermenu.cpp +++ b/indra/newview/llviewermenu.cpp @@ -9471,12 +9471,7 @@ void lua_run_script(const LLSD& userdata) LL_WARNS() << "Script name is not specified" << LL_ENDL; return; } - fsyspath fs_script_path(script_path); - script_path = fs_script_path.lexically_normal().u8string(); - if (!fs_script_path.is_absolute()) - { - script_path = (fsyspath(gDirUtilp->getExpandedFilename(LL_PATH_SCRIPTS, "lua")) / script_path).u8string(); - } + LLLUAmanager::runScriptFile(script_path); } |