mirror of
https://github.com/Acamaeda/The-Modding-Tree.git
synced 2025-05-01 05:51:07 +00:00
Merge branch '2.3.6-dev' into 2.3.6-dev
This commit is contained in:
commit
cf69924b5f
9 changed files with 48 additions and 29 deletions
js
|
@ -211,7 +211,8 @@ function goBack() {
|
|||
|
||||
function layOver(obj1, obj2) {
|
||||
for (let x in obj2) {
|
||||
if (obj2[x] instanceof Object) layOver(obj1[x], obj2[x]);
|
||||
if (obj2[x] instanceof Decimal) obj1[x] = new Decimal(obj2[x])
|
||||
else if (obj2[x] instanceof Object) layOver(obj1[x], obj2[x]);
|
||||
else obj1[x] = obj2[x];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue