From 1455b1e05a66a3b142da292177dc0ee0eccc2932 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Fri, 15 Jan 2021 20:58:50 -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 02809bfe..a40cc4f7 100644 --- a/commands/games-sp/minesweeper.js +++ b/commands/games-sp/minesweeper.js @@ -92,7 +92,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 || mask[j][i]) { + if (!mask || mask[i][j]) { if (item === '*') { str += '💣'; } else if (item === 0) {