diff --git a/package.json b/package.json index fb42c584..78663137 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "d2-checklist", - "version": "24.7.1", - "manifest": "228617.24.09.30.1730-2-bnet.57149a", + "version": "24.7.2", + "manifest": "228617.24.09.30.1730-2-bnet.57149b", "license": "MIT", "scripts": { "ng": "ng", diff --git a/src/app/service/parse.service.ts b/src/app/service/parse.service.ts index 6db1342c..5ab06a8f 100644 --- a/src/app/service/parse.service.ts +++ b/src/app/service/parse.service.ts @@ -2321,14 +2321,16 @@ export class ParseService { } } const ritualPathFinderRoot: TriumphPresentationNode = await this.handleRecPresNode([], 622609416 + '', nodes, records, triumphLeaves, true, false); - const visiblePathfinder = ritualPathFinderRoot.children.find(x => this.getBestPres(nodes, x.hash)?.state == 0 ); - if (visiblePathfinder) { - const finalStep = visiblePathfinder.children.find(x => x.name == 'Path Completion Reward'); - if (finalStep) { - weeklyRitualPathfinderHash = finalStep.hash; + if (ritualPathFinderRoot) { + const visiblePathfinder = ritualPathFinderRoot.children.find(x => this.getBestPres(nodes, x.hash)?.state == 0 ); + if (visiblePathfinder) { + const finalStep = visiblePathfinder.children.find(x => x.name == 'Path Completion Reward'); + if (finalStep) { + weeklyRitualPathfinderHash = finalStep.hash; + } } } - + // TODO this is kinda ghetto stringing together active triumphs, exotic catalysts, medals and lore // later on should split out active and legacy triumphs, and put catalysts, medals and lore into their own sections // Tree 1024788583