From 5e5c53885f1836cccecc8e915c812011b5602cbb Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sun, 17 Jan 2021 17:41:05 -0500 Subject: [PATCH] Fix --- commands/games-sp/minesweeper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/games-sp/minesweeper.js b/commands/games-sp/minesweeper.js index 54eb4152..d3039d51 100644 --- a/commands/games-sp/minesweeper.js +++ b/commands/games-sp/minesweeper.js @@ -140,7 +140,7 @@ module.exports = class MinesweeperCommand extends Command { board[i].forEach((item, j) => { if (cheatMode && item === '*') { str += '💣'; - if (!mask || mask[i][j]) { + } else if (!mask || mask[i][j]) { if (item === '*') { str += '💣'; } else if (item === 0) {