Skip to content

Commit

Permalink
Fixed an issue with my fix to quest reward icons
Browse files Browse the repository at this point in the history
  • Loading branch information
Slackluster committed Nov 21, 2024
1 parent ba8d311 commit d7db35d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/ItemOverlay.lua
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,7 @@ function app.ItemOverlayHooks()
elseif rewardsFrame == MapQuestInfoRewardsFrame then
itemLink = GetQuestLogItemLink("choice", k) or GetQuestLogItemLink("reward", k)
end

print(itemLink)
if itemLink then
table.insert(sellPrice, { price = select(11, GetItemInfo(itemLink)), itemButton = itemButton})
app.ItemOverlay(itemButton.TLHOverlay, itemLink)
Expand Down Expand Up @@ -750,7 +750,7 @@ function app.ItemOverlayHooks()
end
end

app.Event:Register("QUEST_DETAIL", function() questOverlay() C_Timer.After(0.1, questOverlay) end)
app.Event:Register("QUEST_DETAIL", questOverlay)
hooksecurefunc("QuestMapFrame_ShowQuestDetails", function() questOverlay() C_Timer.After(0.1, questOverlay) end)

-- Hook our overlay onto all world quest pins
Expand Down

0 comments on commit d7db35d

Please sign in to comment.