diff --git a/changelog.md b/changelog.md index 8ee9259..be8c790 100644 --- a/changelog.md +++ b/changelog.md @@ -1,6 +1,9 @@ # The Modding Tree changelog: -# v2.5: Dreams Really Do Come True - 5/7/21 +# v2.5.1 - 5/7/21 +- Fixed dynamic things in tabFormat not updating. + +## v2.5: Dreams Really Do Come True - 5/7/21 - Optimizations, hopefully a significant amount. - Added OOM/s point gen display at high values (thanks to Ducdat!) - Only one tab will display if the window is not wide enough (also thanks to Ducdat!) @@ -14,7 +17,8 @@ - Locked (not yet visible) milestones no longer take up space. Also fixed hidden milestones taking a tiny bit of space. - Re-centered respec buttons. - Force-displayed tooltips are not hidden by resets. -- Added formatting support for very small numbers. Disabled in most places by default because rounding errors can cause issues. Access it with formatSmall, or enable it globally by adding "allowSmall: true" to modInfo. +- Added formatting support for very small numbers. Disabled in most places by default because rounding errors might cause issues. Access it with formatSmall, or enable it globally by adding "allowSmall: true" to modInfo. + # v2.4.1 - 4/29/21 - A number of minor fixes, many thanks to thepaperpilot. diff --git a/js/Demo/demoMod.js b/js/Demo/demoMod.js index 746281f..8e9b85f 100644 --- a/js/Demo/demoMod.js +++ b/js/Demo/demoMod.js @@ -11,7 +11,7 @@ let modInfo = { // Set your version in num and name let VERSION = { - num: "2.5", + num: "2.5.1", name: "Dreams Really Do Come True", } diff --git a/js/game.js b/js/game.js index 07d23b4..52f4a56 100644 --- a/js/game.js +++ b/js/game.js @@ -5,7 +5,7 @@ var scrolled = false; // Don't change this const TMT_VERSION = { - tmtNum: "2.5", + tmtNum: "2.5.1", tmtName: "Dreams Really Do Come True" } @@ -333,7 +333,7 @@ function gameLoop(diff) { addTime(diff) player.points = player.points.add(tmp.pointGen.times(diff)).max(0) - for (x = 0; x <= maxRow; x++){ + for (let x = 0; x <= maxRow; x++){ for (item in TREE_LAYERS[x]) { let layer = TREE_LAYERS[x][item] player[layer].resetTime += diff @@ -351,7 +351,7 @@ function gameLoop(diff) { } } - for (x = maxRow; x >= 0; x--){ + for (let x = maxRow; x >= 0; x--){ for (item in TREE_LAYERS[x]) { let layer = TREE_LAYERS[x][item] if (tmp[layer].autoPrestige && tmp[layer].canReset) doReset(layer); diff --git a/js/technical/temp.js b/js/technical/temp.js index 56831c6..bab63cc 100644 --- a/js/technical/temp.js +++ b/js/technical/temp.js @@ -134,11 +134,7 @@ function updateTempData(layerData, tmpData, funcsData) { NaNalert = true; } } - - if (tmpData[item] === undefined) - Vue.set(tmpData, item, value) - else - tmpData[item]=value + Vue.set(tmpData, item, value) } } }