mirror of
https://github.com/luanti-org/luanti.git
synced 2025-09-30 19:22:14 +00:00
move settings logic inside keyringmgr
This commit is contained in:
parent
35540c5c32
commit
453c4d061b
3 changed files with 6 additions and 6 deletions
|
@ -101,6 +101,10 @@ end
|
|||
|
||||
--------------------------------------------------------------------------------
|
||||
function keyringmgr.set_login(address, port, playername, password)
|
||||
-- If the user doesn't want to remember logins, we completely skip the process
|
||||
if not core.settings:get_bool("remember_login") then
|
||||
return
|
||||
end
|
||||
assert(type(port) == "number")
|
||||
|
||||
local keyring = keyringmgr.get_keyring()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue