From 8f9af57314f71aae1cc77e13f9996e13015d776d Mon Sep 17 00:00:00 2001 From: ShadowNinja Date: Mon, 4 May 2015 14:59:13 -0400 Subject: Add core.get_dir_list --- builtin/mainmenu/modmgr.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'builtin/mainmenu/modmgr.lua') diff --git a/builtin/mainmenu/modmgr.lua b/builtin/mainmenu/modmgr.lua index f6b9b4814..89292ed52 100644 --- a/builtin/mainmenu/modmgr.lua +++ b/builtin/mainmenu/modmgr.lua @@ -17,7 +17,7 @@ -------------------------------------------------------------------------------- function get_mods(path,retval,modpack) - local mods = core.get_dirlist(path, true) + local mods = core.get_dir_list(path, true) for i=1, #mods, 1 do if mods[i]:sub(1,1) ~= "." then @@ -94,7 +94,7 @@ function modmgr.getbasefolder(temppath) } end - local subdirs = core.get_dirlist(temppath,true) + local subdirs = core.get_dir_list(temppath, true) --only single mod or modpack allowed if #subdirs ~= 1 then -- cgit v1.2.3