diff --git a/core.lua b/core.lua index dfd72e7..145da67 100644 --- a/core.lua +++ b/core.lua @@ -1,5 +1,5 @@ Aux = { - version = '2.8.4', + version = '2.8.5', blizzard_ui_shown = false, orig = {}, } diff --git a/tooltip.lua b/tooltip.lua index 0d4dd7b..9502217 100644 --- a/tooltip.lua +++ b/tooltip.lua @@ -99,7 +99,7 @@ function private.extend_tooltip(tooltip, hyperlink, quantity) local price = Aux.merchant.info(item_id) if price ~= 0 then - tooltip:AddLine('Vendor Sell: '..Aux.util.format_money(price), color.r, color.g, color.b) + tooltip:AddLine('Vendor Sell: '..(price and Aux.util.format_money(price) or GRAY_FONT_COLOR_CODE..'---'..FONT_COLOR_CODE_CLOSE), color.r, color.g, color.b) end end