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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user