From fb637c5f6c531a9109071809e413fa84bf098afc Mon Sep 17 00:00:00 2001 From: Kevin Bunn <45328239+Pseudonian@users.noreply.github.com> Date: Wed, 15 Jan 2025 14:15:52 -0500 Subject: [PATCH] Minor: Dymanically update Sing req on load for Sing challenges --- src/Synergism.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Synergism.ts b/src/Synergism.ts index 7d29685c3..4dc2f057c 100644 --- a/src/Synergism.ts +++ b/src/Synergism.ts @@ -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()