Skip to content
Permalink
Browse files

Change the server description after a search (#6074)

  • Loading branch information...
Dumbeldor authored and nerzhul committed Jun 29, 2017
1 parent 6d2833a commit 367d218f2b8c9d5fa754875407bd52c6bff771a7
Showing with 1 addition and 0 deletions.
  1. +1 −0 builtin/mainmenu/tab_online.lua
@@ -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

0 comments on commit 367d218

Please sign in to comment.
You can’t perform that action at this time.