mirror of
https://fem.mint.lgbt/m/Rhythmblock.git
synced 2024-08-14 20:27:11 +00:00
16 lines
285 B
Lua
16 lines
285 B
Lua
|
local accentColor = colors.gray
|
||
|
local buttonColor = colors.lightGray
|
||
|
local backgroundColor = colors.black
|
||
|
|
||
|
function playDisk()
|
||
|
disk.playAudio()
|
||
|
|
||
|
|
||
|
if disk.isPresent() and disk.hasAudio() then
|
||
|
playDisk()
|
||
|
elseif disk.isPresent() then
|
||
|
print "Not a music disc"
|
||
|
else
|
||
|
print "No disc"
|
||
|
|