Change the server description after a search (#6074)

This commit is contained in:
Vincent Glize 2017-06-29 07:53:44 +02:00 committed by Nils Dagsson Moskopp
parent 8d0ce4b4c4
commit 2ce5c08c16
Signed by: erlehmann
GPG Key ID: A3BC671C35191080
1 changed files with 1 additions and 0 deletions

View File

@ -295,6 +295,7 @@ local function main_button_handler(tabview, fields, name, tabdata)
local first_server = search_result[1]
core.settings:set("address", first_server.address)
core.settings:set("remote_port", first_server.port)
gamedata.serverdescription = first_server.description
end
return true
end