mirror of
https://github.com/Acamaeda/The-Modding-Tree.git
synced 2024-11-21 16:13:55 +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
|
||||
}
|
||||
}
|
||||
if (tmp[layer].shouldNotify){
|
||||
return tmp[layer].shouldNotify
|
||||
}
|
||||
else
|
||||
return false
|
||||
|
||||
return tmp[layer].shouldNotify
|
||||
|
||||
}
|
||||
|
||||
function canReset(layer)
|
||||
|
|
Loading…
Reference in a new issue