diff --git a/js/game.js b/js/game.js index ffca117..a0a16ca 100644 --- a/js/game.js +++ b/js/game.js @@ -184,11 +184,12 @@ function doReset(layer, force=false) { if (tmp[layer].type=="static") { if (tmp[layer].baseAmount.lt(tmp[layer].nextAt)) return; gain =(tmp[layer].canBuyMax ? gain : 1) - } + } - - if (layers[layer].onPrestige) + if (layers[layer].onPrestige){ + updateMilestones(layer) run(layers[layer].onPrestige, layers[layer], gain) + } addPoints(layer, gain) updateMilestones(layer)