mirror of
https://fem.mint.lgbt/m/Rhythmblock.git
synced 2024-08-14 20:27:11 +00:00
forgot to add the disk drive position on one of the ifs
This commit is contained in:
parent
74de1349bb
commit
2fd399c4e2
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ end
|
||||||
|
|
||||||
if disk.isPresent(drive) and disk.hasAudio(drive) then
|
if disk.isPresent(drive) and disk.hasAudio(drive) then
|
||||||
playDisc(drive)
|
playDisc(drive)
|
||||||
elseif disk.isPresent() then
|
elseif disk.isPresent(drive) then
|
||||||
print "Not a music disc"
|
print "Not a music disc"
|
||||||
else
|
else
|
||||||
print "No disc"
|
print "No disc"
|
||||||
|
|
Loading…
Reference in a new issue