Skip to content
Permalink
Browse files

Fix broken serverdescription in multiplayer tab

  • Loading branch information...
sapier sapier
sapier authored and sapier committed Jun 19, 2014
1 parent 8af44f8 commit 1c7cc2665bfacbee8d0fa3a00bca640f02620892
Showing with 4 additions and 3 deletions.
  1. +4 −3 builtin/mainmenu/tab_multiplayer.lua
@@ -40,10 +40,11 @@ local function get_formspec(tabview, name, tabdata)
"pwdfield[9.3,4.5;2.5,0.5;te_pwd;]" ..
"textarea[9.3,0.25;2.5,2.75;;"

if menudata.fav_selected ~= nil and
menudata.favorites[menu.fav_selected].description ~= nil then
if tabdata.fav_selected ~= nil and
menudata.favorites[tabdata.fav_selected] ~= nil and
menudata.favorites[tabdata.fav_selected].description ~= nil then
retval = retval ..
core.formspec_escape(menu.favorites[menu.fav_selected].description,true)
core.formspec_escape(menudata.favorites[tabdata.fav_selected].description,true)
end

retval = retval ..

0 comments on commit 1c7cc26

Please sign in to comment.
You can’t perform that action at this time.