From 598c0625642795cdf774a188d754f57d8f4ea482 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Thu, 11 Feb 2021 21:17:28 -0500 Subject: [PATCH] Fix x and y display --- 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 d0c69c84..b252c5f2 100644 --- a/commands/games-sp/minesweeper.js +++ b/commands/games-sp/minesweeper.js @@ -149,7 +149,7 @@ module.exports = class MinesweeperCommand extends Command { } } else { if (flagged.includes(`${x - 1},${y - 1}`)) { - await msg.say(`Are you sure you want to check (${x - 1}, ${y - 1})? You have it flagged.`); + await msg.say(`Are you sure you want to check (${x}, ${y})? You have it flagged.`); const verification = await verify(msg.channel, msg.author); if (!verification) { await msg.say('Okay, the spot will remain unchecked.');