mirror of
https://github.com/IgorTimofeev/MineOS.git
synced 2026-03-27 02:02:47 +01:00
Мини-фикс
This commit is contained in:
@@ -187,7 +187,7 @@ local function getAutocompleteDatabaseMatches(stringToSearch)
|
||||
local matches = {}
|
||||
|
||||
for word in pairs(autocompleteDatabase) do
|
||||
if word ~= str then
|
||||
if word ~= stringToSearch then
|
||||
local match = word:match("^" .. stringToSearch)
|
||||
if match then
|
||||
table.insert(matches, { word, match })
|
||||
|
||||
Reference in New Issue
Block a user