This commit is contained in:
2025-06-27 14:26:58 +01:00
parent f66d138c12
commit 56f710d49c
+3 -5
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")