From d4a9bb5f9b57a73e566e034233e415ea36b49afc Mon Sep 17 00:00:00 2001 From: Liza Carvelli Date: Fri, 20 Sep 2024 19:43:19 +0200 Subject: [PATCH] Avoid duplicate quests in priority window --- Questionable/Windows/PriorityWindow.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Questionable/Windows/PriorityWindow.cs b/Questionable/Windows/PriorityWindow.cs index 912d7b6d5..9165eddfb 100644 --- a/Questionable/Windows/PriorityWindow.cs +++ b/Questionable/Windows/PriorityWindow.cs @@ -112,7 +112,7 @@ internal sealed class PriorityWindow : LWindow foreach (var quest in foundQuests) { - if (quest.Info.IsMainScenarioQuest || _questController.ManualPriorityQuests.Contains(quest)) + if (quest.Info.IsMainScenarioQuest || _questController.ManualPriorityQuests.Any(x => x.Id == quest.Id)) continue; bool addThis = ImGui.Selectable(quest.Info.Name);