Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Change the server description after a search (#6074)
- Loading branch information
Showing
with
1 addition
and
0 deletions.
-
+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 |
|
|