From a2eae16921524c39f0ce6a8bff9a690fdf67b1d2 Mon Sep 17 00:00:00 2001 From: mint Date: Thu, 6 May 2021 00:16:32 -0400 Subject: [PATCH] added peripheral seeking 2: electric boogaloo --- neodj.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neodj.lua b/neodj.lua index fc3c041..e11c038 100644 --- a/neodj.lua +++ b/neodj.lua @@ -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"