1
0
Fork 0
mirror of https://github.com/Acamaeda/The-Modding-Tree.git synced 2025-04-24 10:11:05 +00:00

Setting that shows last milestone gained

Also fixed the screen width detection
This commit is contained in:
Harley White 2021-05-06 16:26:44 -04:00
parent 69dc926eb6
commit e6c03dbf4d
8 changed files with 57 additions and 40 deletions
js/utils

View file

@ -80,6 +80,7 @@ function getStartLayerData(layer) {
layerdata.spentOnBuyables = new Decimal(0);
layerdata.upgrades = [];
layerdata.milestones = [];
layerdata.lastMilestone = null;
layerdata.achievements = [];
layerdata.challenges = getStartChallenges(layer);
return layerdata;