From 764ea7d2fc211cc230739124114e8d5a812f6f09 Mon Sep 17 00:00:00 2001 From: Xurkon Date: Sat, 21 Mar 2026 01:00:01 -0500 Subject: [PATCH] fix: Use UntrackQuestId properly for untracking --- Modules/QuestLinks/Hooks.lua | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/Modules/QuestLinks/Hooks.lua b/Modules/QuestLinks/Hooks.lua index b79a6f7..06b0c8b 100644 --- a/Modules/QuestLinks/Hooks.lua +++ b/Modules/QuestLinks/Hooks.lua @@ -51,18 +51,16 @@ function Hooks:HookQuestLogTitle() local isTracked = Questie.db.char.TrackedQuests[questId] or (Questie.db.profile.autoTrackQuests and not Questie.db.char.AutoUntrackedQuests[questId]) if isTracked then -- Quest is currently tracked — untrack it - Questie.db.char.TrackedQuests[questId] = nil - Questie.db.char.AutoUntrackedQuests[questId] = nil + pcall(QuestieTracker.UntrackQuestId, QuestieTracker, questId) else -- Quest is currently untracked — track it Questie.db.char.TrackedQuests[questId] = true Questie.db.char.AutoUntrackedQuests[questId] = nil + QuestieCombatQueue:Queue(function() + QuestieTracker:Update() + end) end - QuestieCombatQueue:Queue(function() - QuestieTracker:Update() - end) end - -- Don't call QuestLog_Update() here - it causes loops with the hook end end) end