projects
/
zefram
/
minetest
/
minetest_engine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac7a447
)
Fix serverdescription and name not beeing saved to local serverlist
author
sapier
<Sapier at GMX dot net>
Fri, 12 Jul 2013 18:43:51 +0000
(20:43 +0200)
committer
PilzAdam
<pilzadam@minetest.net>
Fri, 12 Jul 2013 20:46:27 +0000
(22:46 +0200)
builtin/mainmenu.lua
patch
|
blob
|
history
diff --git
a/builtin/mainmenu.lua
b/builtin/mainmenu.lua
index b752add6e108592c8037374ef1005b978e2b0006..ee33161175b5964882fdc4718250558e5db33cf0 100644
(file)
--- a/
builtin/mainmenu.lua
+++ b/
builtin/mainmenu.lua
@@
-642,6
+642,11
@@
function tabbuilder.handle_multiplayer_buttons(fields)
gamedata.serverdescription = menu.favorites[event.index].description
end
+ if menu.favorites ~= nil then
+ gamedata.servername = menu.favorites[event.index].name
+ gamedata.serverdescription = menu.favorites[event.index].description
+ end
+
if gamedata.address ~= nil and
gamedata.port ~= nil then