bugfix
This commit is contained in:
+1
-1
@@ -35,7 +35,7 @@ function M.complete(candidates)
|
|||||||
|
|
||||||
local text = self:GetText()
|
local text = self:GetText()
|
||||||
|
|
||||||
local t = temp-candidates()
|
local t = candidates()
|
||||||
for i = 1, getn(t) do
|
for i = 1, getn(t) do
|
||||||
if strsub(strupper(t[i]), 1, strlen(text)) == strupper(text) then
|
if strsub(strupper(t[i]), 1, strlen(text)) == strupper(text) then
|
||||||
self:SetText(strlower(t[i]))
|
self:SetText(strlower(t[i]))
|
||||||
|
|||||||
@@ -422,6 +422,7 @@ function suggestions(filter)
|
|||||||
-- item names
|
-- item names
|
||||||
if getn(filter.components) == 0 then
|
if getn(filter.components) == 0 then
|
||||||
for i = 1, getn(aux_auctionable_items) do
|
for i = 1, getn(aux_auctionable_items) do
|
||||||
|
p'kek'
|
||||||
tinsert(suggestions, aux_auctionable_items[i] .. '/exact')
|
tinsert(suggestions, aux_auctionable_items[i] .. '/exact')
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user