From 7d3170efa85bcb2fc52857c354dd2da623f1865b Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Thu, 21 Mar 2024 17:46:36 -0400 Subject: [PATCH] Fix gunfight high scores --- commands/games-mp/gunfight.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/games-mp/gunfight.js b/commands/games-mp/gunfight.js index 4f785a14..36e44ba1 100644 --- a/commands/games-mp/gunfight.js +++ b/commands/games-mp/gunfight.js @@ -55,7 +55,7 @@ module.exports = class GunfightCommand extends Command { const user = await fetchHSUserDisplay(this.client, highScoreUser); if (scoreBeat) { await this.client.redis.set('reaction-time', newScore); - await this.client.redis.set('reaction-time-user', winner.first().author); + await this.client.redis.set('reaction-time-user', winner.first().author.id); } this.client.games.delete(msg.channel.id); if (!winner.size) return msg.say('Oh... No one won.');