It was returning true btw. I also had to add some bs hack to get that far:
vfsutils.lua
Code:
function RecursiveFileSearch(startingDir, fileType, vfsMode) local files = {} local function AddSubDir(dir) --bs hack if vfsMode == nil then vfsMode = VFS.RAW end --bs hack
--Spring.Echo(dir, fileType, vfsMode) for _,file in ipairs(VFS.DirList(dir, fileType, vfsMode)) do files[#files + 1] = file end for _,sd in ipairs(VFS.SubDirs(dir, "*", vfsMode)) do AddSubDir(sd) end end
Users browsing this forum: No registered users and 0 guests
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum