From 6435edcb7e8c0c7dc0519ebb7e3b08967475fc3c Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Thu, 9 Apr 2020 17:37:54 -0400 Subject: [PATCH] Fix --- commands/games-mp/dots-and-boxes.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/games-mp/dots-and-boxes.js b/commands/games-mp/dots-and-boxes.js index 723837ac..653f26b5 100644 --- a/commands/games-mp/dots-and-boxes.js +++ b/commands/games-mp/dots-and-boxes.js @@ -60,7 +60,7 @@ module.exports = class DotsAndBoxesCommand extends Command { let first = Number.parseInt(matched[1], 10); let second = Number.parseInt(matched[2], 10); if (first === second) return false; - if (second > first) { + if (second < first) { const temp = first; first = second; second = temp; @@ -93,7 +93,7 @@ module.exports = class DotsAndBoxesCommand extends Command { const matched = choice.match(/([0-9]+)\-([0-9]+)/); let first = Number.parseInt(matched[1], 10); let second = Number.parseInt(matched[2], 10); - if (second > first) { + if (second < first) { const temp = first; first = second; second = temp;