1
0
Fork 0
mirror of https://github.com/Acamaeda/The-Modding-Tree.git synced 2025-04-17 11:11:08 +00:00

Added side layer reset functionality + documentation

This commit is contained in:
Acamaeda 2020-10-14 19:46:35 -04:00
parent d784a6c2e4
commit d9d2f777a7
5 changed files with 19 additions and 14 deletions

View file

@ -479,7 +479,7 @@ function clickClickable(layer, id) {
// Function to determine if the player is in a challenge
function inChallenge(layer, id){
let challenge = player[layer].active
let challenge = player[layer].activeChallenge
if (challenge==toNumber(id)) return true
if (layers[layer].challenges[challenge].countsAs)