From 348d965d330365590da0e17e386349e875651cac Mon Sep 17 00:00:00 2001 From: Manuel Simon Hirsig Date: Sun, 27 Sep 2015 15:34:29 +0200 Subject: [PATCH] lowered max item id to 30000 (what is really the highest though?) --- util.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util.lua b/util.lua index f137e36..d97ba45 100644 --- a/util.lua +++ b/util.lua @@ -12,7 +12,7 @@ function Aux.util.item_name_autocomplete() local text = this:GetText() local textlen = strlen(text) local name - for item_id=1,40000 do + for item_id=1,30000 do name = GetItemInfo(item_id) if name and strfind(strupper(name), '^' .. strupper(text)) then this:SetText(name)