refactoring and bugfix

This commit is contained in:
Manuel Simon Hirsig
2016-08-31 01:19:23 +02:00
parent 69a1826c06
commit 8753016de1
6 changed files with 250 additions and 248 deletions
+1 -1
View File
@@ -101,7 +101,7 @@ function extend_tooltip(tooltip, link, quantity)
end
if _G.aux_tooltip_daily then
local market_value = history.market_value(item_key)
tooltip:AddLine('Today: '..(market_value and money.to_string2(market_value * quantity)..' ('..auction_listing.percentage_historical(round(market_value / value * 100))..')' or GRAY_FONT_COLOR_CODE..'---'..FONT_COLOR_CODE_CLOSE), color.r, color.g, color.b)
tooltip:AddLine('Today: '..(market_value and money.to_string2(market_value * quantity)..' ('..aux.auction_listing.percentage_historical(round(market_value / value * 100))..')' or GRAY_FONT_COLOR_CODE..'---'..FONT_COLOR_CODE_CLOSE), color.r, color.g, color.b)
end
end