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:
parent
d784a6c2e4
commit
d9d2f777a7
5 changed files with 19 additions and 14 deletions
js
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue