From 1dc1a9aec82bb318f6e786ea6a5ed05faabcedf1 Mon Sep 17 00:00:00 2001 From: Sainan Date: Sun, 16 Jun 2024 23:02:44 +0200 Subject: [PATCH] fix: being bugged about "new quests available" despite completeAllQuests (#309) --- src/controllers/api/inventoryController.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/controllers/api/inventoryController.ts b/src/controllers/api/inventoryController.ts index 4aa44387f..40b8ba7c2 100644 --- a/src/controllers/api/inventoryController.ts +++ b/src/controllers/api/inventoryController.ts @@ -60,6 +60,14 @@ const inventoryController: RequestHandler = async (request: Request, response: R if (config.completeAllQuests) { for (const quest of inventoryResponse.QuestKeys) { quest.Completed = true; + quest.Progress = [ + { + c: 0, + i: false, + m: false, + b: [] + } + ]; } }