mirror of
https://github.com/luanti-org/luanti.git
synced 2025-09-30 19:22:14 +00:00
use (address, port) arguments instead of server object
This commit is contained in:
parent
4af9e47294
commit
c0ac26b6b9
3 changed files with 43 additions and 43 deletions
|
@ -82,10 +82,7 @@ local function register_buttonhandler(this, fields)
|
|||
core.settings:set("address", gamedata.address)
|
||||
core.settings:set("remote_port", gamedata.port)
|
||||
if core.settings:get_bool("remember_login") then
|
||||
keyringmgr.set_login({
|
||||
address = gamedata.address,
|
||||
port = gamedata.port,
|
||||
}, fields.name, fields.password)
|
||||
keyringmgr.set_login(gamedata.address, gamedata.port, fields.name, fields.password)
|
||||
end
|
||||
|
||||
core.start()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue