diff options
author | Vincent Glize <vincentglize@hotmail.fr> | 2017-06-29 07:53:44 +0200 |
---|---|---|
committer | Loïc Blot <nerzhul@users.noreply.github.com> | 2017-06-29 07:53:44 +0200 |
commit | 367d218f2b8c9d5fa754875407bd52c6bff771a7 (patch) | |
tree | 20fa99a8918ddd02bd87b85dd045bf38f9c5a508 /builtin/mainmenu | |
parent | 6d2833a8879b5dd64936991bf2a3e407f26357a7 (diff) | |
download | minetest-367d218f2b8c9d5fa754875407bd52c6bff771a7.tar.gz minetest-367d218f2b8c9d5fa754875407bd52c6bff771a7.tar.bz2 minetest-367d218f2b8c9d5fa754875407bd52c6bff771a7.zip |
Change the server description after a search (#6074)
Diffstat (limited to 'builtin/mainmenu')
-rw-r--r-- | builtin/mainmenu/tab_online.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin/mainmenu/tab_online.lua b/builtin/mainmenu/tab_online.lua index ab23a4b7c..90228b110 100644 --- a/builtin/mainmenu/tab_online.lua +++ b/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 |