frozn / TipTac

WoW AddOn TipTac Reborn
GNU General Public License v3.0
109 stars 23 forks source link

LUA error on currency tooltip #196

Closed hollo6 closed 1 year ago

hollo6 commented 1 year ago

Describe the bug When hovering over the popup on completing a WQ:

2x Usage: local link = C_CurrencyInfo.GetCurrencyLink(type [, amount])

[string "@TipTacItemRef/ttItemRef.lua"]:746: in function <TipTacItemRef/ttItemRef.lua:741> string "=[C]": in function `SetQuestLogCurrency' [string "@FrameXML/AlertFrameSystems.lua"]:117: in function <FrameXML/AlertFrameSystems.lua:104>

Locals: (*temporary) = "Usage: local link = C_CurrencyInfo.GetCurrencyLink(type [, amount])"

To Reproduce Steps to reproduce the behavior:

  1. Complete a WQ with a currency reward (only saw this for gold but probably anything else works)
  2. Hover over the WQ reward tooltip
  3. See above LUA error

Expected behavior No LUA error.

TipTac Reborn (please complete the following information):

WoW (please complete the following information):

Additional context ttItemRef.lua L746: there is an _ indstead of a .

frozn commented 1 year ago

Thanks for reporting this! 👍

Fixed with next release.

hollo6 commented 1 year ago

Fixed indeed, thanks!