diff options
| -rw-r--r-- | gamemode/cl_init.lua | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/gamemode/cl_init.lua b/gamemode/cl_init.lua index 8a71c39..704eeb8 100644 --- a/gamemode/cl_init.lua +++ b/gamemode/cl_init.lua @@ -16,7 +16,17 @@ include( "cl_panels.lua" ) include( "cl_hud.lua" ) include( "cl_deathmenu.lua" ) - +----------------------------------------------------------------------- +--A test to see if finding sub-folders works on a downloaded gamemode-- +local files, directories = file.Find("/gamemode/gmsurvival/" .. "client/" .. "*", "LUA") +for k,v in pairs(files) do + print("Found:" .. v) +end +if(recursive) then + for k,v in pairs(directories) do + findRecursive(folderstring.. "/" .. v,recursive,dofunction) + end +end -- HUD Theme StrandedColorTheme = Color( 0, 0, 0, 240 ) |
