mirror of
https://github.com/Acamaeda/The-Modding-Tree.git
synced 2024-11-24 17:31:50 +00:00
Simplified code in shouldNotify
This commit is contained in:
parent
4f99695b0a
commit
25fc1ef35e
1 changed files with 3 additions and 5 deletions
|
@ -101,11 +101,9 @@ function shouldNotify(layer){
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (tmp[layer].shouldNotify){
|
|
||||||
return tmp[layer].shouldNotify
|
return tmp[layer].shouldNotify
|
||||||
}
|
|
||||||
else
|
|
||||||
return false
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function canReset(layer)
|
function canReset(layer)
|
||||||
|
|
Loading…
Reference in a new issue