1
0
Fork 0
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:
Harley White 2021-06-02 16:59:37 -04:00
parent 2805c36178
commit 247ad64c58
3 changed files with 6 additions and 2 deletions

View file

@ -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 ************