Skip to content

Commit

Permalink
feat(Instance): GetTitleForQuestID sometimes returns nil, so keep try…
Browse files Browse the repository at this point in the history
…ing...
  • Loading branch information
Cilraaz committed Oct 6, 2024
1 parent 9f0005a commit 9aee812
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion HeroLib/Class/Unit/Player/Instance.lua
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ function Player:CheckDelveQuestProgress()
local QuestIDs = { 83758, 83759, 85648, 85649, 83766, 85664, 83769, 83767, 83768, 85667, 83771, 83770, 85666 }
for _, Quest in ipairs(QuestIDs) do
local QuestTitle = GetTitleForQuestID(Quest)
if not QuestTitle then
while not QuestTitle do
QuestTitle = GetTitleForQuestID(Quest)
end
local QuestComplete = IsQuestFlaggedCompleted(Quest)
Expand Down

0 comments on commit 9aee812

Please sign in to comment.