Skip to content
Snippets Groups Projects
Commit 7dbbbfc6 authored by sapier's avatar sapier Committed by PilzAdam
Browse files

Fix serverdescription and name not beeing saved to local serverlist

parent ac7a4479
No related branches found
No related tags found
No related merge requests found
......@@ -642,6 +642,11 @@ function tabbuilder.handle_multiplayer_buttons(fields)
gamedata.serverdescription = menu.favorites[event.index].description
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
gamedata.port ~= nil then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment