]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - builtin/mainmenu/modmgr.lua
Add new leaves style - simple (glasslike drawtype)
[dragonfireclient.git] / builtin / mainmenu / modmgr.lua
index f6b9b4814c7cf6ef6e1eb7be59e6cdbf6a15152d..89292ed52e6298a302181365b7bec42a242f7256 100644 (file)
@@ -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