From bc5ae0b55ceac780727a7665879c6c113be65eda Mon Sep 17 00:00:00 2001 From: jbphet Date: Fri, 9 Jun 2017 16:40:57 -0600 Subject: [PATCH] fixed a muffed up assert statement --- js/game/view/LevelSelectionNode.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/game/view/LevelSelectionNode.js b/js/game/view/LevelSelectionNode.js index 2c0cb0d8..f82b3425 100644 --- a/js/game/view/LevelSelectionNode.js +++ b/js/game/view/LevelSelectionNode.js @@ -59,7 +59,7 @@ define( function( require ) { }, options ); // Verify parameters - assert( + assert && assert( iconNodes.length === options.numLevels && scores.length === options.numLevels, 'Number of game levels doesn\'t match length of provided arrays' );