From db16b6bcedcf38de9d29d5745f79a27f509bc81f Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sun, 24 Jan 2021 10:14:20 -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 ffdc74e5..f1a780e8 100644 --- a/commands/games-mp/domineering.js +++ b/commands/games-mp/domineering.js @@ -120,7 +120,7 @@ module.exports = class DomineeringCommand extends Command { for (let j = 0; j < board[i].length; j++) { if (board[i][j]) continue; if (userTurn && !board[i + 1]) continue; - if (!userTurn && !board[i][j + 1] === undefined) continue; + if (!userTurn && board[i][j + 1] === undefined) continue; if (board[userTurn ? i + 1 : i][userTurn ? j : j + 1]) continue; possibleMoves.push(`${i},${j}`); }