This commit is contained in:
Laurie Fisher 2025-06-27 14:26:58 +01:00
parent f66d138c12
commit 56f710d49c
Signed by: PinkEyedOrphan
GPG Key ID: 7F827B68147AEE76

View File

@ -25,11 +25,9 @@ end
-- Download each file -- Download each file
for _, filename in ipairs(filesToDownload) do for _, filename in ipairs(filesToDownload) do
if not fs.exists(filename) then -- remove each file first
downloadFile(filename) fs.remove(filename)
else downloadFile(filename)
print(filename .. " already exists, skipping download.")
end
end end
local behavior = require("behavior") local behavior = require("behavior")