fixed a bug where it would say "Press any key to continue" instead of "Press enter to continue"
This commit is contained in:
@@ -11,7 +11,7 @@ local instruction = "Please state your name to make an order:"
|
||||
local instruction2 = "Now please type out a request for your order."
|
||||
local pressanykey = "Press any key to continue."
|
||||
local lastchance1 = "Are you sure you want to put in an order?"
|
||||
local lastchance2 = "Press the enter key to continue."
|
||||
local lastchance2 = "Press the enter to continue."
|
||||
local lastchance3 = "Hold ctrl+r (or cmd+r on macos) to cancel"
|
||||
local ordersubmitted1 = "Your order has been submitted!"
|
||||
while true do
|
||||
@@ -46,8 +46,8 @@ while true do
|
||||
term.clear()
|
||||
term.setCursorPos(dx/2-#lastchance1/2,dy/2)
|
||||
term.write(lastchance1)
|
||||
term.setCursorPos(dx/2-#pressanykey/2,dy/2+1)
|
||||
term.write(pressanykey)
|
||||
term.setCursorPos(dx/2-#lastchance2/2,dy/2+1)
|
||||
term.write(lastchance2)
|
||||
term.setCursorPos(dx/2-#lastchance3/2,dy/2+2)
|
||||
term.write(lastchance3)
|
||||
term.setCursorBlink(false)
|
||||
|
||||
Reference in New Issue
Block a user