Skip to content
Snippets Groups Projects
Commit 1cb3809a authored by DarkGod's avatar DarkGod
Browse files

plop

parent 14df3d04
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -81,7 +81,7 @@ function _M:generateList()
local list = {}
for id, _ in pairs(self.actor.lore_known) do
local l = self.actor:getLore(id)
if self:matchSearch(id) or self:matchSearch(l.name) or self:matchSearch(l.category) then
if self:matchSearch(tostring(l.order)) or self:matchSearch(l.name) or self:matchSearch(l.category) then
list[#list+1] = { name=l.name, desc=util.getval(l.lore), cat=l.category, order=l.order, image=l.image, lore=l }
end
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment