mirror of
https://github.com/Xevion/project-cybersyn.git
synced 2025-12-09 22:08:09 -06:00
re-implemented item search via choose-elem-button for exact matching regardless of locale
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user