diff --git a/changelog.md b/changelog.md index 387d83f..4f0d84d 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,8 @@ # The Modding Tree changelog: +# v2.5.2.1 - 5/7/21 +- Fixed microtabs making layers highlight incorrectly. + # v2.5.2 - 5/7/21 - Added glowColor for subtabs. - Improved the display for extremely small numbers. diff --git a/js/Demo/demoMod.js b/js/Demo/demoMod.js index 8e9b85f..e2917ae 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.1", + num: "2.5.2.1", name: "Dreams Really Do Come True", } diff --git a/js/game.js b/js/game.js index 4707584..a8a3cfa 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.1", + tmtNum: "2.5.2.1", tmtName: "Dreams Really Do Come True" } @@ -102,9 +102,10 @@ function shouldNotify(layer){ for (family in tmp[layer].microtabs) { for (subtab in tmp[layer].microtabs[family]){ - if (subtabShouldNotify(layer, family, subtab)) + if (subtabShouldNotify(layer, family, subtab)) { tmp[layer].trueGlowColor = tmp[layer].microtabs[family][subtab].glowColor return true + } } }