forked from liza/Questionable
Avoid duplicate quests in priority window
This commit is contained in:
parent
2aa14db916
commit
d4a9bb5f9b
@ -112,7 +112,7 @@ internal sealed class PriorityWindow : LWindow
|
|||||||
|
|
||||||
foreach (var quest in foundQuests)
|
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;
|
continue;
|
||||||
|
|
||||||
bool addThis = ImGui.Selectable(quest.Info.Name);
|
bool addThis = ImGui.Selectable(quest.Info.Name);
|
||||||
|
Loading…
Reference in New Issue
Block a user