From bd28e3b44ddce5ae5db4b62b7a4b3cbb519dccb5 Mon Sep 17 00:00:00 2001 From: Nicholas Date: Thu, 11 Feb 2016 15:29:26 -0500 Subject: [PATCH] Update fc_main.js --- 1.905/fc_main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/1.905/fc_main.js b/1.905/fc_main.js index 2b124c77..2b6f64f6 100644 --- a/1.905/fc_main.js +++ b/1.905/fc_main.js @@ -1383,15 +1383,15 @@ function updateCaches() { var recommendation, currentBank, targetBank, currentCookieCPS, currentUpgradeCount; var recalcCount = 0; do { + FrozenCookies.disabledPopups = true; recommendation = nextPurchase(FrozenCookies.recalculateCaches); FrozenCookies.recalculateCaches = false; - FrozenCookies.disabledPopups = false; currentBank = bestBank(0); targetBank = bestBank(recommendation.efficiency); currentCookieCPS = gcPs(cookieValue(currentBank.cost)); currentUpgradeCount = Game.UpgradesInStore.length; FrozenCookies.safeGainsCalc(); - FrozenCookies.disabledPopups = true; + FrozenCookies.disabledPopups = false; if (FrozenCookies.lastCPS != FrozenCookies.calculatedCps) { FrozenCookies.recalculateCaches = true;