improve logging for sound file creation and startup process

This commit is contained in:
2025-06-15 22:18:03 -04:00
parent 1ea8aca850
commit 36b373ce53

View File

@@ -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