From 66ee9fc95ed118370f32bab28e83f94d62bcd6a2 Mon Sep 17 00:00:00 2001 From: Ale32bit Date: Tue, 10 Nov 2015 16:28:54 +0100 Subject: [PATCH] Update sPhone.lua --- src/sPhone.lua | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/src/sPhone.lua b/src/sPhone.lua index 59972b4..ba5585d 100644 --- a/src/sPhone.lua +++ b/src/sPhone.lua @@ -7,19 +7,24 @@ local function crash(err) } end term.setCursorBlink(false) - term.setBackgroundColor(colors.blue) + term.setBackgroundColor(colors.white) term.clear() term.setCursorPos(1,1) - term.setTextColor(colors.white) + term.setTextColor(colors.black) if not err then - err = "Unknown" + err = "Undefined Error" end - print("sPhone Crash:\n") - term.setBackgroundColor(colors.black) - printError(err) - term.setBackgroundColor(colors.blue) + print("sPhone got an error :(\n") + term.setTextColor(colors.red) + print(err) + term.setTextColor(colors.black) + if sPhone.version then + print("sPhone version: "..sPhone.version) + end + print("Computer ID: "..os.getComputerID()) print("\nContact sPhone devs: GitHub: Sertex-Team/sPhone") + print("Thanks for using sPhone") print("Press any key") repeat sleep(0) @@ -888,4 +893,4 @@ if not ok then crash(error) end -crash("Something went wrong.../nNo free hugs for you") +crash("Something went wrong...")