From 02cbb4a40f94825b46dd9988348e9d68c5daac5e Mon Sep 17 00:00:00 2001 From: andrewlalis Date: Tue, 29 Aug 2023 09:08:43 -0400 Subject: [PATCH] Fixed title layout. --- bank.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bank.lua b/bank.lua index 889e2ce..dc4f284 100644 --- a/bank.lua +++ b/bank.lua @@ -17,7 +17,7 @@ local HOST = "central-bank" local g = require("simple-graphics") local W, H = term.getSize() g.clear(term, colors.black) -g.drawTextCenter(term, 1, W/2, "BANK Server @ " .. HOST, colors.lime, colors.black) +g.drawTextCenter(term, W/2, 1, "BANK Server @ " .. HOST, colors.lime, colors.black) g.drawXLine(term, 1, W, 2, colors.black, colors.gray, "-") local console = g.createConsole(W, H-2, colors.white, colors.black, "DOWN") @@ -132,6 +132,7 @@ if args[1] == "-i" then shell.execute("bank.lua") end +log("Initializing Rednet hosting...") rednet.open("top") rednet.host("BANK", HOST) log("Opened Rednet and hosted BANK at host \"" .. HOST .. "\".")