Verified Commit 6acf25ad authored by Repooc's avatar Repooc

should fix the issues from api changes... not fully tested.

parent 339ef63a
......@@ -22,8 +22,7 @@ local GetFactionInfoByID = _G.GetFactionInfoByID
local GetNumFactions = _G.GetNumFactions
local GetNumQuestLogRewardFactions = _G.GetNumQuestLogRewardFactions
local GetQuestLogRewardFactionInfo = _G.GetQuestLogRewardFactionInfo
local GetQuestLogTitle = _G.GetQuestLogTitle
local GetQuestLogSelection = _G.C_QuestLog.GetSelectedQuest()
local C_QuestLog_GetSelectedQuest = _G.C_QuestLog.GetSelectedQuest()
local GetNumQuestLogChoices = _G.GetNumQuestLogChoices
local GetNumQuestChoices = _G.GetNumQuestChoices
local UnitAura = _G.UnitAura
......@@ -109,9 +108,9 @@ function RR:Show()
local numQuestChoices = 0
if ( _G.QuestInfoFrame.questLog ) then
local questID = select(8, GetQuestLogTitle(GetQuestLogSelection()))
local questID = C_QuestLog_GetSelectedQuest()
if _G.C_QuestLog.ShouldShowQuestRewards(questID) then
numQuestChoices = GetNumQuestLogChoices()
numQuestChoices = GetNumQuestLogChoices(questID)
end
else
numQuestChoices = GetNumQuestChoices()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment