From 9dd3c76e2061b3f0800cb3463d294105356cb9cb Mon Sep 17 00:00:00 2001 From: Moonlit Productions Date: Fri, 2 Jan 2026 22:19:00 -0500 Subject: [PATCH] Minor consistency fix --- display.lua | 6 +++--- startup.lua | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/display.lua b/display.lua index de8090c..a7c50eb 100644 --- a/display.lua +++ b/display.lua @@ -157,16 +157,16 @@ function display.selectionTabs() mon.setBackgroundColor(colors.green) mon.write("Player") mon.setCursorPos(18, 5) - mon.write("Base gates") + mon.write("Base Gates") end if (#addresses.hazardGates ~= 0) and (config.canAccessHazardGates == true) then paintutils.drawFilledBox(2, 8, 13, 12, colors.red) - mon.setCursorPos(4, 9) + mon.setCursorPos(4, 10) mon.setBackgroundColor(colors.red) mon.write("Hazard") mon.setCursorPos(4, 11) - mon.write("gates") + mon.write("Gates") end paintutils.drawFilledBox(23, 17, 28, 19, colors.red) diff --git a/startup.lua b/startup.lua index 1ddcc92..dca1014 100644 --- a/startup.lua +++ b/startup.lua @@ -548,7 +548,7 @@ local function selectGateFromList(isHazardGate) for i = 1, #buttonXY do if (sely == buttonXY[i][3]) and ((selx >= buttonXY[i][1]) and (selx <= buttonXY[i][2])) then local shouldDial = true - + -- If this is a hazard gate, show confirmation prompt if isHazardGate and hazardReasons and hazardReasons[i] then mon.setBackgroundColor(colors.black) @@ -568,7 +568,7 @@ local function selectGateFromList(isHazardGate) mon.write(hazardReasons[i]) mon.setCursorPos(2, 15) mon.write("Proceed with dialing?") - + -- Draw YES and NO buttons mon.setBackgroundColor(colors.green) mon.setCursorPos(5, 17) @@ -576,7 +576,7 @@ local function selectGateFromList(isHazardGate) mon.setBackgroundColor(colors.red) mon.setCursorPos(18, 17) mon.write(" NO ") - + -- Wait for confirmation (use direct os.pullEvent to bypass handlers) local confirmed = false while true do @@ -592,17 +592,17 @@ local function selectGateFromList(isHazardGate) end end end - + shouldDial = confirmed end - + if shouldDial then dialGate(computerAddresses[i]) state.destAddressname = computerNames[i] state.destAddress = computerAddresses[i] dialing = true end - + sely = 0 selx = 0 break