This commit is contained in:
2025-06-16 20:36:04 -04:00
parent 8692a704ba
commit b428c24a1f

View File

@@ -29,8 +29,8 @@ end
local function playSound(speaker, fileName)
local fileStream = fs.ope(getFileName(fileName), "r")
local data = fileName.readAll()
local fileStream = fs.open(getFileName(fileName), "r")
local data = fileStream.readAll()
local speakers = table.pack(peripheral.find("speaker"))
local tasks = {}