diff --git a/lib/lum.lua b/lib/lum.lua index c9c2474..7f5c5b8 100644 --- a/lib/lum.lua +++ b/lib/lum.lua @@ -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