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:
parent
2fd399c4e2
commit
0595761566
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue