test
This commit is contained in:
+2
-4
@@ -25,11 +25,9 @@ end
|
||||
|
||||
-- Download each file
|
||||
for _, filename in ipairs(filesToDownload) do
|
||||
if not fs.exists(filename) then
|
||||
-- remove each file first
|
||||
fs.remove(filename)
|
||||
downloadFile(filename)
|
||||
else
|
||||
print(filename .. " already exists, skipping download.")
|
||||
end
|
||||
end
|
||||
|
||||
local behavior = require("behavior")
|
||||
|
||||
Reference in New Issue
Block a user