1
0
Fork 0
mirror of https://fem.mint.lgbt/m/Rhythmblock.git synced 2024-08-14 20:27:11 +00:00

made the playing function print the song name :3

This commit is contained in:
mint 2021-05-06 00:57:47 -04:00
parent 2fd399c4e2
commit 0595761566

View file

@ -21,12 +21,15 @@ end
function playDisc() function playDisc()
disk.playAudio(drive) disk.playAudio(drive)
print(disk.getAudioTitle(drive))
end end
function ejectDisc() function ejectDisc()
disk.eject()
end end
function stopDisc() function stopDisc()
disk.stopAudio()
end end
if disk.isPresent(drive) and disk.hasAudio(drive) then if disk.isPresent(drive) and disk.hasAudio(drive) then