From 2fd399c4e2d6ec7838f69aa7a589cdfaf7f9bff3 Mon Sep 17 00:00:00 2001 From: mint Date: Thu, 6 May 2021 00:52:26 -0400 Subject: [PATCH] forgot to add the disk drive position on one of the ifs --- neodj.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neodj.lua b/neodj.lua index 8a19e81..ca46c22 100644 --- a/neodj.lua +++ b/neodj.lua @@ -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"