mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-06 06:10:49 +02:00
Fix
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user