Update settings.lua

This commit is contained in:
Ale32bit 2016-03-19 23:01:34 +01:00
parent c9e30d782c
commit 06bd10065f

View file

@ -154,12 +154,12 @@ local function redraw()
term.setCursorPos(1,3) term.setCursorPos(1,3)
term.setBackgroundColor(colors.white) term.setBackgroundColor(colors.white)
term.setTextColor(colors.black) term.setTextColor(colors.black)
end end
redraw() redraw()
while true do while true do
redraw() redraw()
local name, id = sPhone.menu(menu, "Settings",true) local name, id = sPhone.menu(menu, "Settings","X")
if id == 0 then if id == 0 then
return return
elseif id == 1 then elseif id == 1 then
@ -171,4 +171,5 @@ local function redraw()
elseif id == 4 then elseif id == 4 then
clearLabel() clearLabel()
end end
end end