From fa2a8c6513d78e41fbad0594f47cc4e4adfbfc27 Mon Sep 17 00:00:00 2001 From: Dev Date: Thu, 19 Oct 2023 21:06:09 +0100 Subject: [PATCH] Add missing id property to accept quest client response --- project/src/controllers/QuestController.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/project/src/controllers/QuestController.ts b/project/src/controllers/QuestController.ts index 162110ac..27f4d516 100644 --- a/project/src/controllers/QuestController.ts +++ b/project/src/controllers/QuestController.ts @@ -383,11 +383,12 @@ export class QuestController const repeatableSettings = pmcData.RepeatableQuests.find(x => x.name === repeatableQuestProfile.sptRepatableGroupName); const responseData: IPmcDataRepeatableQuest = { - activeQuests: [repeatableQuestProfile], + id: repeatableSettings.id, name: repeatableSettings.name, - inactiveQuests: [], endTime: repeatableSettings.endTime, - changeRequirement: repeatableSettings.changeRequirement + changeRequirement: repeatableSettings.changeRequirement, + activeQuests: [repeatableQuestProfile], + inactiveQuests: [] }; acceptQuestResponse.profileChanges[sessionID].repeatableQuests = [responseData];