bugfix internal cache dependency

This commit is contained in:
Alexander Weber 2017-04-10 23:27:22 +02:00
parent 9117afdde2
commit 139d5f3dc7

View File

@ -1,7 +1,5 @@
local ui_tools = {}
local cache = smart_inventory.cache
-----------------------------------------------------
-- Group item list and prepare for output
-----------------------------------------------------
@ -90,6 +88,7 @@ function ui_tools.create_trash_inv(state, name)
end
function ui_tools.search_in_list(list, search_string, playername)
local cache = smart_inventory.cache
local filtered_list = {}
search_string = search_string:lower()
for _, entry in ipairs(list) do