Skip to content

Commit

Permalink
Change the server description after a search (#6074)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dumbeldor authored and nerzhul committed Jun 29, 2017
1 parent 6d2833a commit 367d218
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions builtin/mainmenu/tab_online.lua
Expand Up @@ -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
Expand Down

0 comments on commit 367d218

Please sign in to comment.