mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-05 19:31:04 +00:00
remove general login stuff
This commit is contained in:
parent
f769c4caa2
commit
35540c5c32
2 changed files with 2 additions and 34 deletions
|
@ -56,12 +56,10 @@ end
|
|||
|
||||
-- Persists the selected server in the "address" and "remote_port" settings
|
||||
local function get_default_playername()
|
||||
print(keyringmgr.get_last_playername())
|
||||
return keyringmgr.get_last_playername() or core.settings:get("name")
|
||||
return core.settings:get("name")
|
||||
end
|
||||
local function get_default_password()
|
||||
print(keyringmgr.get_last_password())
|
||||
return keyringmgr.get_last_password() or ""
|
||||
return ""
|
||||
end
|
||||
|
||||
local input_playername = get_default_playername()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue