diff --git a/js/game.js b/js/game.js index ccd7f56..d60dc8b 100644 --- a/js/game.js +++ b/js/game.js @@ -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)