1
0
Fork 0
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:
Abdurahman Elmawi 2025-06-30 04:13:20 +03:00
parent 35540c5c32
commit 453c4d061b
3 changed files with 6 additions and 6 deletions

View file

@ -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()