projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d2833a
)
Change the server description after a search (#6074)
author
Vincent Glize
<vincentglize@hotmail.fr>
Thu, 29 Jun 2017 05:53:44 +0000
(07:53 +0200)
committer
Loïc Blot
<nerzhul@users.noreply.github.com>
Thu, 29 Jun 2017 05:53:44 +0000
(07:53 +0200)
builtin/mainmenu/tab_online.lua
patch
|
blob
|
history
diff --git
a/builtin/mainmenu/tab_online.lua
b/builtin/mainmenu/tab_online.lua
index ab23a4b7cd89a3551a41ac922491fe9c2d1099eb..90228b110389f90bdaf7bda8209aa66f90b6dc66 100644
(file)
--- 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