spliced content into another repo

This commit is contained in:
UndeadMaelys
2022-05-05 11:29:09 +02:00
parent 0154cc5e1b
commit d4577b988c
4 changed files with 9 additions and 5 deletions

View File

@@ -21,9 +21,9 @@ end
function lesson(number)
number = tonumber(number)
local t = scandir(dir.."/lessons/")
local t = scandir(dir.."/content/lessons/")
if t[number] then
dofile("lessons/"..t[number])
dofile("content/lessons/"..t[number])
else
print("lesson not found")
end