updated a bunch

This commit is contained in:
2025-06-17 17:09:57 -04:00
parent 4e57946e82
commit 2711d658ea
4 changed files with 31 additions and 30 deletions

View File

@@ -29,7 +29,6 @@ local function playSound(speaker, fileName)
end
end
local function playControlRoomAlarm(speakers)
playSound(speakers,"short_control_alarm")
end
@@ -37,6 +36,7 @@ end
local function playExternalAlarm(speakers)
playSound(speakers,"external_alarm")
end
local function playInternalAlarm(speakers)
playSound(speakers,"internal_alarm")
end
@@ -83,16 +83,13 @@ local function createSoundFile(fileName)
print("Recieved response!")
local fileData = handle.readAll()
local file = fs.open(name,"w")
file.write(fileData)
file.write(fileData)
file.close()
handle.close()
end
function addSoundFile(fileName)
createSoundFile(fileName)
end