From d530cb7542174549e5005669143739dc121923ba Mon Sep 17 00:00:00 2001 From: leonar15 Date: Sat, 22 Dec 2018 18:20:40 -0800 Subject: [PATCH] Fixed typos Fixed typos in console messages --- js/memesweeper.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/memesweeper.js b/js/memesweeper.js index f432764..cc2617f 100644 --- a/js/memesweeper.js +++ b/js/memesweeper.js @@ -212,8 +212,8 @@ $(function(){ if (this_val != 'd') { // generate a board that has a doge at the first click + console.log('regenerating board for scumbag mode'); while (this_val != 'd') { - console.log('regenrating scumbag'); Game.calculate_positions(); // find the new value this_val = Game.Square.get_value(this_pos.x, this_pos.y); @@ -222,8 +222,8 @@ $(function(){ } else if (this_val == 'd') { // keep trying to make a board where this square isn't a meme + console.log('regenerating board to avoid initial collision'); while (this_val == 'd') { - console.log('regenrating'); Game.calculate_positions(); // find the new value this_val = Game.Square.get_value(this_pos.x, this_pos.y); @@ -387,4 +387,4 @@ $(function(){ Game.init($game_box, options); } -}); \ No newline at end of file +});