Skip to content

Commit

Permalink
Minor: Dymanically update Sing req on load for Sing challenges
Browse files Browse the repository at this point in the history
  • Loading branch information
Pseudonian committed Jan 15, 2025
1 parent f057a17 commit fb637c5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Synergism.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2820,6 +2820,12 @@ const loadSynergy = () => {
resetHistoryRenderAllTables()
updateSingularityAchievements()
updateSingularityGlobalPerks()

// Update the Sing requirements on reload for a challenge if applicable
if (G.currentSingChallenge !== undefined) {
const sing = player.singularityChallenges[G.currentSingChallenge].computeSingularityRquirement()
player.singularityCount = sing
}
}

updateAchievementBG()
Expand Down

0 comments on commit fb637c5

Please sign in to comment.