From c94b8fe44136c1f7a41d74fd6089060476fdd5d0 Mon Sep 17 00:00:00 2001 From: mint Date: Fri, 7 May 2021 16:02:14 -0400 Subject: [PATCH] some extra details --- rhythmblock.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rhythmblock.lua b/rhythmblock.lua index 35063e9..b4da018 100644 --- a/rhythmblock.lua +++ b/rhythmblock.lua @@ -17,7 +17,7 @@ if arg[1] == nil then peripherals = peripheral.getNames() -- Gets peripherals to check if any disk drives are avavailable if #peripherals == 0 then term.setTextColor(colors.red) - print "No drive" + print("No drive") return false -- Exits if there's no disk drive else driveCount = 0 @@ -34,7 +34,7 @@ if arg[1] == nil then return false elseif driveCount == 0 then term.setTextColor(colors.red) - print "No drive" + print("No drive") return false -- Exits if there's no disk drive end end @@ -103,7 +103,7 @@ function renderStopButton() -- Renders the Stop button end function renderEjectButton() -- Renders the Eject button - paintutils.drawLine(centerWidth - 2, centerHeight + 4, centerWidth + 2, centerHeight + 4, accentColor) + paintutils.drawLine(centerWidth - 3, centerHeight + 4, centerWidth + 3, centerHeight + 4, accentColor) term.setTextColor(buttonColor) term.setCursorPos(centerWidth - 2, centerHeight + 4) term.write(ejectText)