forgot to add the disk drive position on one of the ifs
This commit is contained in:
parent
74de1349bb
commit
2fd399c4e2
|
@ -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