diff options
author | Aki <nthirtyone@gmail.com> | 2018-04-09 21:30:11 +0200 |
---|---|---|
committer | Aki <nthirtyone@gmail.com> | 2018-04-09 21:30:11 +0200 |
commit | fa4409cedb322bbd41722f22308f399979fc6676 (patch) | |
tree | a7cc4725b003c1932ad88f4fce8548d43605bf9b /config/menus/host.lua | |
parent | 96f6ebdaf06650a35dcdb6a1fc3f472b3aab6d8a (diff) | |
parent | 290d75dceb905217cb67fcb32e95dbeb45e27e3c (diff) | |
download | roflnauts-fa4409cedb322bbd41722f22308f399979fc6676.zip roflnauts-fa4409cedb322bbd41722f22308f399979fc6676.tar.gz roflnauts-fa4409cedb322bbd41722f22308f399979fc6676.tar.bz2 |
Love2D version 0.10.2 -> 11.0
Diffstat (limited to 'config/menus/host.lua')
-rw-r--r-- | config/menus/host.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/menus/host.lua b/config/menus/host.lua index 2b5fac5..102c4c3 100644 --- a/config/menus/host.lua +++ b/config/menus/host.lua @@ -32,7 +32,7 @@ function loadConfigs (dir, process) local items, icons = {}, {} for _,file in pairs(love.filesystem.getDirectoryItems(dir)) do local path = string.format("%s/%s", dir, file) - if love.filesystem.isFile(path) and file ~= "readme.md" then + if love.filesystem.getInfo(path).type == "file" and file ~= "readme.md" then local item = love.filesystem.load(path)() if isAvailable(item) then if process then |