added peripheral seeking 2: electric boogaloo

This commit is contained in:
mint 2021-05-06 00:16:32 -04:00
parent 0862f9589a
commit a2eae16921
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ function playDisk()
disk.playAudio(drive)
end
if disk.isPresent() and disk.hasAudio() then
if disk.isPresent(drive) and disk.hasAudio(drive) then
playDisk(drive)
elseif disk.isPresent() then
print "Not a music disc"