Skip to content

Commit

Permalink
- small fix to Contains for things which already have sub-items
Browse files Browse the repository at this point in the history
  • Loading branch information
ImUnicke committed Feb 8, 2021
1 parent 39a4231 commit 7045177
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions AllTheThings.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3312,8 +3312,10 @@ local function GetCachedSearchResults(search, method, paramA, paramB, ...)
-- Append any crafted things using this group
app.BuildCrafted(group);

-- Expand any things requiring this group
app.ExpandSubGroups(group);
-- Expand any things requiring this group if this group does not already have sub-groups
if not group.g then
app.ExpandSubGroups(group);
end

-- Append currency info to any orphan currency groups
app.BuildCurrencies(group);
Expand Down

0 comments on commit 7045177

Please sign in to comment.