Merge pull request #915 from warmist/warmist-patch-1

Fix gui/mod-manager
develop
Lethosor 2016-05-05 07:41:08 -04:00
commit e40838805a
1 changed files with 1 additions and 1 deletions

@ -159,7 +159,7 @@ function manager:init(args)
local mods=self.mods
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)
end
for k,v in ipairs(mlist) do