From 6e46eb588410bf5bdcbe9a824b75e39610d6d6c3 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sun, 24 Jan 2021 10:05:50 -0500 Subject: [PATCH] Fix --- commands/games-mp/domineering.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/games-mp/domineering.js b/commands/games-mp/domineering.js index e3ad9de9..a0228063 100644 --- a/commands/games-mp/domineering.js +++ b/commands/games-mp/domineering.js @@ -117,7 +117,7 @@ module.exports = class DomineeringCommand extends Command { possibleMoves(board, userTurn) { const possibleMoves = []; for (let i = 0; i < board.length; i++) { - for (let j = 0; j < board[i].length; i++) { + for (let j = 0; j < board[i].length; j++) { if (board[i][j]) continue; if (board[userTurn ? i + 1 : i][userTurn ? j : j + 1]) continue; possibleMoves.push(`${i},${j}`);