1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-29 22:55:19 +01:00

Add buttons to ContentDB in game bar and configure world (#9944)

This commit is contained in:
rubenwardy
2020-06-04 21:53:26 +01:00
committed by GitHub
parent c1e01bc638
commit 850af80089
4 changed files with 79 additions and 39 deletions

View File

@@ -513,6 +513,17 @@ function create_store_dlg(type)
search_string = ""
cur_page = 1
if type then
-- table.indexof does not work on tables that contain `nil`
for i, v in pairs(filter_types_type) do
if v == type then
filter_type = i
break
end
end
end
store.filter_packages(search_string)
return dialog_create("store",