Skip to content

Commit

Permalink
Fix search term being case-sensitive
Browse files Browse the repository at this point in the history
  • Loading branch information
wormingdead committed Jan 28, 2020
1 parent c00723f commit 83b3c31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/PassiveTreeView.lua
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ function PassiveTreeViewClass:DoesNodeMatchSearchStr(node)
if not match and node.mods[index].list then
-- Then check modifiers
for _, mod in ipairs(node.mods[index].list) do
errMsg, match = PCall(string.match, mod.name, self.searchStr)
errMsg, match = PCall(string.match, mod.name:lower(), self.searchStr:lower())
if match then
return true
end
Expand Down

0 comments on commit 83b3c31

Please sign in to comment.