some changes to the average stat module, use '/aux clear average' in case of problems

This commit is contained in:
Manuel Simon Hirsig
2016-01-18 08:22:02 +01:00
parent 00e9537ce2
commit de6ff66e51
4 changed files with 118 additions and 106 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ function public.generate_cache()
AuxStaticTooltip:SetHyperlink('item:'..id)
end
local t0 = time()
Aux.control.as_soon_as(function() return GetItemInfo(id) or time() > t0 + 5 end, function()
Aux.control.as_soon_as(function() return GetItemInfo(id) or time() > t0 + 3 end, function()
local name, _, quality, level, class, subclass, max_stack, slot, texture = GetItemInfo(id)
if name then
Aux.log('Adding item '..id..' ...')