iteration

This commit is contained in:
Layla 2023-10-08 04:11:02 -04:00
parent b52af66471
commit 1f24cd18b1

View File

@ -16,7 +16,7 @@ settings.define("lum.log_level", {
})
function download_lua(remote_path, local_path)
local url = "https://gitea.layla.gg/layla/computercraft/raw/branch/" .. settings.get("lum.target_branch") .. "/" .. remote_path .. ".lua"
local url = "https://gitea.layla.gg/layla/computercraft/raw/branch/" .. settings.get("lum.target_branch") .. "/" .. remote_path
if settings.get("lum.log_level") == "debug" then
io.write("Downloading " .. url .. " to " .. local_path .. "\n")
end