diff --git a/js/mine.js b/js/mine.js index 31f2564..e912441 100644 --- a/js/mine.js +++ b/js/mine.js @@ -328,7 +328,7 @@ var Mine = function() { newMap[y-1][x+1] = '*'; newMap[y][x] = ' '; if ('R' == map[y-2][x+1]) this._crushed(); - } else if ((below == '*') && ' ' == map[y-1][x-y] && ' ' == map[y][x-1]) { + } else if ((below == '*') && ' ' == map[y-1][x-1] && ' ' == map[y][x-1]) { // fall left newMap[y-1][x-1] = '*'; newMap[y][x] = ' ';