added peripheral seeking 2: electric boogaloo
This commit is contained in:
parent
0862f9589a
commit
a2eae16921
|
@ -7,7 +7,7 @@ function playDisk()
|
||||||
disk.playAudio(drive)
|
disk.playAudio(drive)
|
||||||
end
|
end
|
||||||
|
|
||||||
if disk.isPresent() and disk.hasAudio() then
|
if disk.isPresent(drive) and disk.hasAudio(drive) then
|
||||||
playDisk(drive)
|
playDisk(drive)
|
||||||
elseif disk.isPresent() then
|
elseif disk.isPresent() then
|
||||||
print "Not a music disc"
|
print "Not a music disc"
|
||||||
|
|
Loading…
Reference in a new issue