mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-16 18:01:40 +00:00
Add keyword based search to serverlist
This commit is contained in:
parent
f5070b4454
commit
f3bd4c405d
8 changed files with 113 additions and 23 deletions
|
@ -77,7 +77,7 @@ function order_favorite_list(list)
|
|||
end
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
function render_favorite(spec, is_favorite)
|
||||
function render_serverlist_row(spec, is_favorite)
|
||||
local text = ""
|
||||
if spec.name then
|
||||
text = text .. core.formspec_escape(spec.name:trim())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue