mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
Merge branch 'dev' of github.com:ElunaLuaEngine/Eluna into dev
This commit is contained in:
@@ -57,7 +57,9 @@ void Eluna::Initialize()
|
||||
ELUNA_LOG_INFO("[Eluna]: Searching scripts from `%s`", lua_folderpath.c_str());
|
||||
lua_requirepath = "";
|
||||
GetScripts(lua_folderpath);
|
||||
lua_requirepath.erase(lua_requirepath.end() - 1);
|
||||
// Erase last ;
|
||||
if (!lua_requirepath.empty())
|
||||
lua_requirepath.erase(lua_requirepath.end() - 1);
|
||||
|
||||
ELUNA_LOG_DEBUG("[Eluna]: Loaded %u scripts in %u ms", uint32(lua_scripts.size() + lua_extensions.size()), ElunaUtil::GetTimeDiff(oldMSTime));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user