From 983544c1cd9f820f8cdc99162c8b8b55337e3be4 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sun, 17 Jan 2021 11:50:50 -0500 Subject: [PATCH] Fix --- 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 ada57f13..b361f3e6 100644 --- a/commands/games-sp/minesweeper.js +++ b/commands/games-sp/minesweeper.js @@ -103,7 +103,7 @@ module.exports = class MinesweeperCommand extends Command { const highScoreUser = await this.client.redis.get(`minesweeper-${size}-user`); const scoreBeat = win && (!highScore || highScore > newScore); let user; - if (minesweeperUser) { + if (highScoreUser) { try { const fetched = await this.client.users.fetch(highScoreUser); user = fetched.tag;