mirror of
https://github.com/Acamaeda/The-Modding-Tree.git
synced 2024-11-22 00:21:32 +00:00
Fixed things not updating
This commit is contained in:
parent
23cbfc7a9e
commit
61ef75ee38
4 changed files with 7 additions and 4 deletions
|
@ -1,5 +1,8 @@
|
||||||
# The Modding Tree changelog:
|
# The Modding Tree changelog:
|
||||||
|
|
||||||
|
### v2.5.9.2 - 5/19/21
|
||||||
|
- Fixed many issues with things not updating.
|
||||||
|
|
||||||
### v2.5.9.1 - 5/18/21
|
### v2.5.9.1 - 5/18/21
|
||||||
- Made text inputs never give NaNs.
|
- Made text inputs never give NaNs.
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ let modInfo = {
|
||||||
|
|
||||||
// Set your version in num and name
|
// Set your version in num and name
|
||||||
let VERSION = {
|
let VERSION = {
|
||||||
num: "2.5.9.1",
|
num: "2.5.9.2",
|
||||||
name: "Dreams Really Do Come True",
|
name: "Dreams Really Do Come True",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@ var scrolled = false;
|
||||||
|
|
||||||
// Don't change this
|
// Don't change this
|
||||||
const TMT_VERSION = {
|
const TMT_VERSION = {
|
||||||
tmtNum: "2.5.9.1",
|
tmtNum: "2.5.9.2",
|
||||||
tmtName: "Dreams Really Do Come True"
|
tmtName: "Dreams Really Do Come True"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -113,7 +113,7 @@ function updateTempData(layerData, tmpData, funcsData) {
|
||||||
|
|
||||||
for (item in funcsData){
|
for (item in funcsData){
|
||||||
if (Array.isArray(layerData[item])) {
|
if (Array.isArray(layerData[item])) {
|
||||||
if (item === "tabFormat" || item === "content") return // These are only updated when needed
|
if (item !== "tabFormat" && item !== "content") // These are only updated when needed
|
||||||
updateTempData(layerData[item], tmpData[item], funcsData[item])
|
updateTempData(layerData[item], tmpData[item], funcsData[item])
|
||||||
}
|
}
|
||||||
else if ((!!layerData[item]) && (layerData[item].constructor === Object) || (typeof layerData[item] === "object") && traversableClasses.includes(layerData[item].constructor.name)){
|
else if ((!!layerData[item]) && (layerData[item].constructor === Object) || (typeof layerData[item] === "object") && traversableClasses.includes(layerData[item].constructor.name)){
|
||||||
|
|
Loading…
Reference in a new issue