diff --git a/startup.lua b/startup.lua index f3790f9..2d27330 100644 --- a/startup.lua +++ b/startup.lua @@ -25,11 +25,9 @@ end -- Download each file for _, filename in ipairs(filesToDownload) do - if not fs.exists(filename) then - downloadFile(filename) - else - print(filename .. " already exists, skipping download.") - end + -- remove each file first + fs.remove(filename) + downloadFile(filename) end local behavior = require("behavior")