Skip to content

Commit fb637c5

Browse files
committed
Minor: Dymanically update Sing req on load for Sing challenges
1 parent f057a17 commit fb637c5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/Synergism.ts

+6
Original file line numberDiff line numberDiff line change
@@ -2820,6 +2820,12 @@ const loadSynergy = () => {
28202820
resetHistoryRenderAllTables()
28212821
updateSingularityAchievements()
28222822
updateSingularityGlobalPerks()
2823+
2824+
// Update the Sing requirements on reload for a challenge if applicable
2825+
if (G.currentSingChallenge !== undefined) {
2826+
const sing = player.singularityChallenges[G.currentSingChallenge].computeSingularityRquirement()
2827+
player.singularityCount = sing
2828+
}
28232829
}
28242830

28252831
updateAchievementBG()

0 commit comments

Comments
 (0)