From 7140577935062f9a4247bbac6188e3189dd7ddcb Mon Sep 17 00:00:00 2001 From: Liza Carvelli Date: Sat, 20 Jul 2024 22:08:18 +0200 Subject: [PATCH] When checking for next unaccepted msq quest, ignore quests without questpath --- Questionable/GameFunctions.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Questionable/GameFunctions.cs b/Questionable/GameFunctions.cs index f12e1bd7..b2951732 100644 --- a/Questionable/GameFunctions.cs +++ b/Questionable/GameFunctions.cs @@ -147,7 +147,9 @@ internal sealed unsafe class GameFunctions // always prioritize accepting MSQ quests, to make sure we don't turn in one MSQ quest and then go off to do // side quests until the end of time. var msqQuest = GetMainScenarioQuest(questManager); - if (msqQuest.CurrentQuest != 0 && !questManager->IsQuestAccepted(msqQuest.CurrentQuest)) + if (msqQuest.CurrentQuest != 0 && + _questRegistry.IsKnownQuest(msqQuest.CurrentQuest) && + !questManager->IsQuestAccepted(msqQuest.CurrentQuest)) return msqQuest; // Use the quests in the same order as they're shown in the to-do list, e.g. if the MSQ is the first item,