diff --git a/commands/games-sp/minesweeper.js b/commands/games-sp/minesweeper.js index 6c4d97c2..5573deda 100644 --- a/commands/games-sp/minesweeper.js +++ b/commands/games-sp/minesweeper.js @@ -91,7 +91,7 @@ module.exports = class MinesweeperCommand extends Command { for (let i = 0; i < board.length; i++) { str += nums[i]; board[i].forEach((item, j) => { - if (mask[i][j]) { + if (!mask || mask[i][j]) { if (item === '*') { str += '💣'; } else if (item === 0) {