I AM DEFINITELY STUPID MY GOD
This commit is contained in:
parent
591a61d67e
commit
2669ea4498
|
@ -28,7 +28,7 @@ rawset(__BUNDLER_FILES, "updater.lua", function ()
|
|||
fs.copy("startup.lua","backup.lua")
|
||||
local startup_file = fs.open("startup.lua", "r")
|
||||
local startup_contents = startup_file.readAll()
|
||||
file.close()
|
||||
startup_file.close()
|
||||
if update_code_text ~= startup_contents then
|
||||
local file = fs.open("startup.lua", "w")
|
||||
file.write(update_code_text)
|
||||
|
|
Loading…
Reference in New Issue
Block a user