Skip to content

Commit

Permalink
Increase max depth to 3
Browse files Browse the repository at this point in the history
  • Loading branch information
Aurelius7309 committed Mar 28, 2024
1 parent e9dde6c commit 919bf02
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions loader/loader.lua
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ function loadMods(modsDirectory)

-- Function to process each directory (including subdirectories) with depth tracking
local function processDirectory(directory, depth)
if depth > 2 then
return -- Stop processing if the depth is greater than 2
if depth > 3 then
return -- Stop processing if the depth is greater than 3
end

for _, filename in ipairs(NFS.getDirectoryItems(directory)) do
Expand Down

0 comments on commit 919bf02

Please sign in to comment.