Skip to content

Commit

Permalink
Update settings.lua (#1675)
Browse files Browse the repository at this point in the history
  • Loading branch information
dndrks authored May 2, 2023
1 parent 70bd0a2 commit e0f1185
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions lua/core/menu/settings.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ m.key = function(n,z)
if n==2 and z==1 then
_menu.set_page("SYSTEM")
elseif n==3 and z==1 then
if m.pages[m.pos]=="PASSWORD" then
if m.pages[m.pos]=="RESET" then
_menu.set_page("RESET")
elseif m.pages[m.pos]=="PASSWORD" then
textentry.enter(m.passdone, "", "new password:", m.passcheck)
else
_menu.set_page(m.pages[m.pos])
end
end
end
Expand Down Expand Up @@ -90,5 +90,4 @@ m.passdone = function(txt)
_menu.set_page("SETTINGS")
end


return m
return m

0 comments on commit e0f1185

Please sign in to comment.