mirror of
https://github.com/sp-tarkov/server.git
synced 2025-02-12 16:10:43 -05:00
Updated removeNewBeginningRequirementFromPrestige
to check for BOTH New Beginning
quest ids as they're no the same between prestige
This commit is contained in:
parent
3b436f2a42
commit
c39384a37f
@ -135,10 +135,11 @@ export class PostDbLoadService {
|
||||
}
|
||||
|
||||
protected removeNewBeginningRequirementFromPrestige() {
|
||||
const newBeginningQuestIds = ["6761f28a022f60bb320f3e95", "6761ff17cdc36bd66102e9d0"];
|
||||
const prestigeDb = this.databaseService.getTemplates().prestige;
|
||||
for (const prestige of prestigeDb.elements) {
|
||||
prestige.conditions = prestige.conditions.filter(
|
||||
(condition) => condition.target !== "6761f28a022f60bb320f3e95",
|
||||
(condition) => !newBeginningQuestIds.includes(condition.target as string),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user