forgot to add the disk drive position on one of the ifs

This commit is contained in:
Lux Aliaga 2021-05-06 00:52:26 -04:00
parent 74de1349bb
commit 2fd399c4e2

View file

@ -31,7 +31,7 @@ end
if disk.isPresent(drive) and disk.hasAudio(drive) then
playDisc(drive)
elseif disk.isPresent() then
elseif disk.isPresent(drive) then
print "Not a music disc"
else
print "No disc"