This commit is contained in:
2025-06-15 20:11:56 -04:00
parent 92ce09ad68
commit fbe9e4ffa2

View File

@@ -47,17 +47,17 @@ local function createSoundFile(fileName)
--print("Added placeholder sound file: " .. name) --print("Added placeholder sound file: " .. name)
local response = http.get(fullPath) local response = http.get(fullPath)
print("Downloading sound file: " .. name) print("Downloading sound file: " .. name)
sleep(10)
local fileData = response.readAll() local fileData = response.readAll()
local file = fs.open(name,"w") local file = fs.open(name,"w")
file.write(fileData) file.write(fileData)
file.close()
file.close()
response.close() response.close()
end end