Add missing id property to accept quest client response
This commit is contained in:
parent
11ae41dcff
commit
fa2a8c6513
@ -383,11 +383,12 @@ export class QuestController
|
|||||||
|
|
||||||
const repeatableSettings = pmcData.RepeatableQuests.find(x => x.name === repeatableQuestProfile.sptRepatableGroupName);
|
const repeatableSettings = pmcData.RepeatableQuests.find(x => x.name === repeatableQuestProfile.sptRepatableGroupName);
|
||||||
const responseData: IPmcDataRepeatableQuest = {
|
const responseData: IPmcDataRepeatableQuest = {
|
||||||
activeQuests: [repeatableQuestProfile],
|
id: repeatableSettings.id,
|
||||||
name: repeatableSettings.name,
|
name: repeatableSettings.name,
|
||||||
inactiveQuests: [],
|
|
||||||
endTime: repeatableSettings.endTime,
|
endTime: repeatableSettings.endTime,
|
||||||
changeRequirement: repeatableSettings.changeRequirement
|
changeRequirement: repeatableSettings.changeRequirement,
|
||||||
|
activeQuests: [repeatableQuestProfile],
|
||||||
|
inactiveQuests: []
|
||||||
};
|
};
|
||||||
acceptQuestResponse.profileChanges[sessionID].repeatableQuests = [responseData];
|
acceptQuestResponse.profileChanges[sessionID].repeatableQuests = [responseData];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user