updated
This commit is contained in:
@@ -47,17 +47,17 @@ local function createSoundFile(fileName)
|
||||
--print("Added placeholder sound file: " .. name)
|
||||
|
||||
local response = http.get(fullPath)
|
||||
|
||||
print("Downloading sound file: " .. name)
|
||||
|
||||
sleep(10)
|
||||
local fileData = response.readAll()
|
||||
|
||||
local file = fs.open(name,"w")
|
||||
|
||||
file.write(fileData)
|
||||
file.close()
|
||||
|
||||
file.close()
|
||||
response.close()
|
||||
|
||||
end
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user