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