Skip to content

Commit

Permalink
Update fc_main.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicholas committed Feb 11, 2016
1 parent a055213 commit bd28e3b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 1.905/fc_main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit bd28e3b

Please sign in to comment.