Fix broken serverdescription in multiplayer tab

This commit is contained in:
sapier 2014-06-19 22:03:49 +02:00 committed by Nils Dagsson Moskopp
parent 4689018071
commit 40cd31db20
Signed by: erle
GPG Key ID: A3BC671C35191080
1 changed files with 4 additions and 3 deletions

View File

@ -40,10 +40,11 @@ local function get_formspec(tabview, name, tabdata)
"pwdfield[9.3,4.5;2.5,0.5;te_pwd;]" .. "pwdfield[9.3,4.5;2.5,0.5;te_pwd;]" ..
"textarea[9.3,0.25;2.5,2.75;;" "textarea[9.3,0.25;2.5,2.75;;"
if menudata.fav_selected ~= nil and if tabdata.fav_selected ~= nil and
menudata.favorites[menu.fav_selected].description ~= nil then menudata.favorites[tabdata.fav_selected] ~= nil and
menudata.favorites[tabdata.fav_selected].description ~= nil then
retval = retval .. retval = retval ..
core.formspec_escape(menu.favorites[menu.fav_selected].description,true) core.formspec_escape(menudata.favorites[tabdata.fav_selected].description,true)
end end
retval = retval .. retval = retval ..