Change the server description after a search (#6074)
This commit is contained in:
parent
582ee14446
commit
1783ccf348
@ -296,6 +296,7 @@ local function main_button_handler(tabview, fields, name, tabdata)
|
|||||||
local first_server = search_result[1]
|
local first_server = search_result[1]
|
||||||
core.settings:set("address", first_server.address)
|
core.settings:set("address", first_server.address)
|
||||||
core.settings:set("remote_port", first_server.port)
|
core.settings:set("remote_port", first_server.port)
|
||||||
|
gamedata.serverdescription = first_server.description
|
||||||
end
|
end
|
||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user