improve logging for sound file creation and startup process
This commit is contained in:
@@ -86,10 +86,10 @@ local function createSoundFile(fileName)
|
||||
return nil
|
||||
end
|
||||
if event == "http_success" then
|
||||
print("Waiting for response from: " .. url)
|
||||
print("Waiting for response for " .. fileName)
|
||||
end
|
||||
until event == "http_success" and url == fullPath
|
||||
|
||||
print("Recieved response!")
|
||||
local fileData = handle.readAll()
|
||||
local file = fs.open(name,"w")
|
||||
|
||||
@@ -119,6 +119,7 @@ local function startup()
|
||||
|
||||
for i, item in ipairs(sounds) do
|
||||
addSoundFile(item.fileName)
|
||||
print("Added sound file: " .. item.fileName)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user