mirror of
https://github.com/Acamaeda/The-Modding-Tree.git
synced 2024-11-24 09:21:46 +00:00
chore: Update Milestones in onPrestige()
This commit is contained in:
parent
e4bf4f63af
commit
6688c9b644
1 changed files with 4 additions and 3 deletions
|
@ -186,9 +186,10 @@ function doReset(layer, force=false) {
|
||||||
gain =(tmp[layer].canBuyMax ? gain : 1)
|
gain =(tmp[layer].canBuyMax ? gain : 1)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (layers[layer].onPrestige){
|
||||||
if (layers[layer].onPrestige)
|
updateMilestones(layer)
|
||||||
run(layers[layer].onPrestige, layers[layer], gain)
|
run(layers[layer].onPrestige, layers[layer], gain)
|
||||||
|
}
|
||||||
|
|
||||||
addPoints(layer, gain)
|
addPoints(layer, gain)
|
||||||
updateMilestones(layer)
|
updateMilestones(layer)
|
||||||
|
|
Loading…
Reference in a new issue