|
|
@ -159,7 +159,7 @@ function manager:init(args)
|
|
|
|
local mods=self.mods
|
|
|
|
local mods=self.mods
|
|
|
|
local mlist=dfhack.internal.getDir(mod_dir)
|
|
|
|
local mlist=dfhack.internal.getDir(mod_dir)
|
|
|
|
|
|
|
|
|
|
|
|
if #mlist==0 then
|
|
|
|
if mlist==nil or #mlist==0 then
|
|
|
|
qerror("Mod directory not found! Are you sure it is in:"..mod_dir)
|
|
|
|
qerror("Mod directory not found! Are you sure it is in:"..mod_dir)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
for k,v in ipairs(mlist) do
|
|
|
|
for k,v in ipairs(mlist) do
|
|
|
|