mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Fix broken serverdescription in multiplayer tab
This commit is contained in:
parent
8af44f8163
commit
1c7cc2665b
1 changed files with 4 additions and 3 deletions
|
@ -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 ..
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue