Need to test this

This commit is contained in:
Dragon Fire
2021-01-15 20:13:13 -05:00
parent 73f9df6c77
commit eac4eb8bfd
+1
View File
@@ -48,6 +48,7 @@ module.exports = class MinesweeperCommand extends Command {
if (!coordPicked) return false;
const x = Number.parseInt(coordPicked[1], 10);
const y = Number.parseInt(coordPicked[2], 10);
console.log(game.mask[x - 1][y - 1]);
if (game.mask[x - 1][y - 1]) return false;
return true;
};