diff --git a/project/src/controllers/QuestController.ts b/project/src/controllers/QuestController.ts index 774dc4f9..bdc8444b 100644 --- a/project/src/controllers/QuestController.ts +++ b/project/src/controllers/QuestController.ts @@ -147,7 +147,8 @@ export class QuestController } // Prereq does not have its status requirement fulfilled - if (!conditionToFulfil.status.includes(prerequisiteQuest.status)) + // Some bsg status ids are strings, MUST convert to number before doing includes check + if (!conditionToFulfil.status.map((status) => Number(status)).includes(prerequisiteQuest.status)) { haveCompletedPreviousQuest = false; break;