added peripheral seeking 2: electric boogaloo

This commit is contained in:
Lux Aliaga 2021-05-06 00:16:32 -04:00
parent 0862f9589a
commit a2eae16921

View file

@ -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"