From 43ad19764bce830e049b622accf780dafad9e9f3 Mon Sep 17 00:00:00 2001 From: Harley White Date: Wed, 8 Sep 2021 17:45:19 -0400 Subject: [PATCH] Fixed new option --- changelog.md | 3 +++ js/game.js | 2 +- js/utils/save.js | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/changelog.md b/changelog.md index 964aa77..a1eeef8 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,8 @@ # The Modding Tree changelog: +# v2.6.6.1 = 9/8/21 +- Fixed options not updating when new ones are added. + # v2.6.6 - 9/7/21 - Added option for shift-clicking nodes toggling their tooltips. - Fixed NaN check for setting Decimal values with text boxes. diff --git a/js/game.js b/js/game.js index e6c8ea7..48ab96e 100644 --- a/js/game.js +++ b/js/game.js @@ -3,7 +3,7 @@ var needCanvasUpdate = true; // Don't change this const TMT_VERSION = { - tmtNum: "2.6.6", + tmtNum: "2.6.6.1", tmtName: "Fixed Reality" } diff --git a/js/utils/save.js b/js/utils/save.js index 66d3a46..b362c3b 100644 --- a/js/utils/save.js +++ b/js/utils/save.js @@ -223,6 +223,7 @@ function loadOptions() { else options = getStartOptions() if (themes.indexOf(options.theme) < 0) theme = "default" + fixData(options, getStartOptions()) }