normalize input for animal assignment search

develop
Myk Taylor 2023-08-14 16:38:43 -07:00
parent 5c06e9f99e
commit a521b54da1
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

@ -392,7 +392,7 @@ end
local function make_search_key(desc)
local out = ''
for c in desc:gmatch("[%w%s]") do
for c in dfhack.toSearchNormalized(desc):gmatch("[%w%s]") do
out = out .. c:lower()
end
return out