Skip to content
Snippets Groups Projects
Commit 1c7cc266 authored by sapier's avatar sapier
Browse files

Fix broken serverdescription in multiplayer tab

parent 8af44f81
No related branches found
No related tags found
No related merge requests found
......@@ -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% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment