From d70b06dd49dfb9d9ff1ad71a1557f34ff63f4029 Mon Sep 17 00:00:00 2001 From: Ale2610 Date: Tue, 25 Aug 2015 17:46:25 +0200 Subject: [PATCH] Update sPhone.lua --- src/sPhone.lua | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/sPhone.lua b/src/sPhone.lua index bb110d0..e72e652 100644 --- a/src/sPhone.lua +++ b/src/sPhone.lua @@ -379,6 +379,9 @@ local function kernel() end end else + local name + local pw + local pwr while true do term.clear() term.setCursorPos(1,1) @@ -454,16 +457,16 @@ local function kernel() sertextext.center(3," Setup Sertex ID") sertextext.center(7," Your Username") term.setCursorPos(3,8) - local name = read() + name = read() while true do sertextext.center(9, " Your Password") term.setCursorPos(3,10) term.clearLine() - local pw = read("*") + pw = read("*") sertextext.center(11, " Repeat") term.setCursorPos(3,12) term.clearLine() - local pwr = read("*") + pwr = read("*") if pw == pwr then break else