1
0
Fork 0
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:
Harley White 2021-01-21 02:58:27 -05:00
parent 4f99695b0a
commit 25fc1ef35e

View file

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