Skip to content

Commit

Permalink
fix: Revert "fix: Revert "refactor: general challenge/mastery type im…
Browse files Browse the repository at this point in the history
…provements""

This reverts commit 730fe62.
  • Loading branch information
RDIL committed Aug 19, 2024
1 parent 21163c7 commit ae40663
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions components/scoreHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -724,6 +724,11 @@ export async function getMissionEndData(
query.masteryUnlockableId = contractData.Metadata.Difficulty ?? "normal"
}

if (gameVersion === "h1") {
// h1 has a separate mastery track for pro1 and normal
query.masteryUnlockableId = contractData.Metadata.Difficulty ?? "normal"
}

// Resolve all opportunities for the location
const opportunities: string[] | null | undefined =
contractData.Metadata.Opportunities
Expand Down

0 comments on commit ae40663

Please sign in to comment.