0
0
mirror of https://github.com/sp-tarkov/server.git synced 2025-02-13 09:50:43 -05:00

Removed unused parameter from processPostRaidQuests()

This commit is contained in:
Dev 2024-10-24 22:56:02 +01:00
parent 3818388893
commit b57a199c8a

View File

@ -632,7 +632,7 @@ export class LocationLifecycleService {
pmcProfile.TaskConditionCounters = postRaidProfile.TaskConditionCounters; pmcProfile.TaskConditionCounters = postRaidProfile.TaskConditionCounters;
pmcProfile.SurvivorClass = postRaidProfile.SurvivorClass; pmcProfile.SurvivorClass = postRaidProfile.SurvivorClass;
pmcProfile.Achievements = postRaidProfile.Achievements; pmcProfile.Achievements = postRaidProfile.Achievements;
pmcProfile.Quests = this.processPostRaidQuests(postRaidProfile.Quests, pmcProfile.Quests); pmcProfile.Quests = this.processPostRaidQuests(postRaidProfile.Quests);
// Handle edge case - must occur AFTER processPostRaidQuests() // Handle edge case - must occur AFTER processPostRaidQuests()
this.lightkeeperQuestWorkaround(sessionId, postRaidProfile.Quests, preRaidProfileQuestDataClone, pmcProfile); this.lightkeeperQuestWorkaround(sessionId, postRaidProfile.Quests, preRaidProfileQuestDataClone, pmcProfile);
@ -735,10 +735,7 @@ export class LocationLifecycleService {
* @param preRaidQuestStatuses quest data from before raid * @param preRaidQuestStatuses quest data from before raid
* @returns IQuestStatus * @returns IQuestStatus
*/ */
protected processPostRaidQuests( protected processPostRaidQuests(questsToProcess: IQuestStatus[]): IQuestStatus[] {
questsToProcess: IQuestStatus[],
preRaidQuestStatuses: IQuestStatus[],
): IQuestStatus[] {
for (const quest of questsToProcess) { for (const quest of questsToProcess) {
quest.status = Number(QuestStatus[quest.status]); quest.status = Number(QuestStatus[quest.status]);