fixed a bug where the question mark for the market value wouldn't disappear

This commit is contained in:
Manuel Simon Hirsig
2016-02-16 13:15:34 +01:00
parent 789b2a33c9
commit 1e5f5d0923
+1 -1
View File
@@ -30,7 +30,7 @@ function Aux.on_load()
value_line = value_line..EnhTooltip.GetTextGSC(value * count)..' / '..EnhTooltip.GetTextGSC(value)
end
local _, _, _, market_values = Aux.history.price_data()
local _, _, _, market_values = Aux.history.price_data(item_key)
if getn(market_values) < 5 then
value_line = value_line..' (?)'
end