From 2ce5c08c163afd009b61140ca9fbef6cf6f753a6 Mon Sep 17 00:00:00 2001 From: Vincent Glize Date: Thu, 29 Jun 2017 07:53:44 +0200 Subject: [PATCH] Change the server description after a search (#6074) --- builtin/mainmenu/tab_online.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/builtin/mainmenu/tab_online.lua b/builtin/mainmenu/tab_online.lua index ab23a4b..90228b1 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