mirror of
https://github.com/Acamaeda/The-Modding-Tree.git
synced 2025-04-24 02:01:03 +00:00
2.2.6
This commit is contained in:
parent
2096c3db7f
commit
a9d55645b5
10 changed files with 32 additions and 23 deletions
js
|
@ -169,8 +169,9 @@ function getStartBuyables(layer){
|
|||
function getStartClickables(layer){
|
||||
let data = {}
|
||||
if (layers[layer].clickables) {
|
||||
if (isPlainObject(layers[layer].clickables[id]))
|
||||
data[id] = ""
|
||||
for (id in layers[layer].buyables)
|
||||
if (isPlainObject(layers[layer].clickables[id]))
|
||||
data[id] = ""
|
||||
}
|
||||
return data
|
||||
}
|
||||
|
@ -179,8 +180,8 @@ function getStartChallenges(layer){
|
|||
let data = {}
|
||||
if (layers[layer].challenges) {
|
||||
for (id in layers[layer].challenges)
|
||||
if (isPlainObject(layers[layer].challenges[id]))
|
||||
data[id] = 0
|
||||
if (isPlainObject(layers[layer].challenges[id]))
|
||||
data[id] = 0
|
||||
}
|
||||
return data
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue