diff options
Diffstat (limited to 'script/library.lua')
-rw-r--r-- | script/library.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/library.lua b/script/library.lua index 434a3bcf..f4511ee6 100644 --- a/script/library.lua +++ b/script/library.lua @@ -288,7 +288,7 @@ local function load3rdConfigInDir(dir, configs, inner) if not fs.is_directory(dir) then return end - for libraryDir in dir:list_directory() do + for libraryDir in fs.pairs(dir) do local suc, res = xpcall(loadSingle3rdConfig, log.error, libraryDir) if suc and res then if inner then |