updated
This commit is contained in:
@@ -29,10 +29,8 @@ end
|
||||
|
||||
local function playSound(speaker, fileName)
|
||||
|
||||
local fileStream = getFileName(fileName)
|
||||
local values = io.lines(fileStream, 16 * 1024)
|
||||
local data = values.readAll()
|
||||
|
||||
local fileStream = fs.ope(getFileName(fileName), "r")
|
||||
local data = fileName.readAll()
|
||||
local speakers = table.pack(peripheral.find("speaker"))
|
||||
local tasks = {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user