re-implemented item search via choose-elem-button for exact matching regardless of locale

This commit is contained in:
Will Berry
2023-03-10 20:20:44 -05:00
parent 0cd1292ed6
commit c75ba3a517
4 changed files with 11 additions and 17 deletions

View File

@@ -135,7 +135,7 @@ function stations_tab.build(map_data, player_data, query_limit)
for _, signal_ID in pairs(comb1_signals) do
local item = signal_ID.signal.name
if item then
if string.match(item, search_item) then
if item == search_item then
goto has_match
end
end