mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Fix serverdescription and name not beeing saved to local serverlist
This commit is contained in:
parent
ac7a44792c
commit
7dbbbfc665
1 changed files with 5 additions and 0 deletions
|
@ -642,6 +642,11 @@ function tabbuilder.handle_multiplayer_buttons(fields)
|
||||||
gamedata.serverdescription = menu.favorites[event.index].description
|
gamedata.serverdescription = menu.favorites[event.index].description
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if menu.favorites ~= nil then
|
||||||
|
gamedata.servername = menu.favorites[event.index].name
|
||||||
|
gamedata.serverdescription = menu.favorites[event.index].description
|
||||||
|
end
|
||||||
|
|
||||||
if gamedata.address ~= nil and
|
if gamedata.address ~= nil and
|
||||||
gamedata.port ~= nil then
|
gamedata.port ~= nil then
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue