mirror of
https://github.com/Acamaeda/The-Modding-Tree.git
synced 2025-04-30 21:42:10 +00:00
Challenge fixes
This commit is contained in:
parent
2805c36178
commit
247ad64c58
3 changed files with 6 additions and 2 deletions
js
|
@ -131,7 +131,8 @@ function inChallenge(layer, id) {
|
|||
if (challenge == id) return true
|
||||
|
||||
if (layers[layer].challenges[challenge].countsAs)
|
||||
return tmp[layer].challenges[challenge].countsAs.includes(id)
|
||||
return tmp[layer].challenges[challenge].countsAs.includes(id) || false
|
||||
return false
|
||||
}
|
||||
|
||||
// ************ Misc ************
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue