From 4db975dcdd97fd9aedb4256b3663898c10b46e5d Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Tue, 21 Apr 2020 18:52:38 -0400 Subject: [PATCH] Fix --- commands/games-sp/horse-race.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/games-sp/horse-race.js b/commands/games-sp/horse-race.js index 8d2e5d6d..763ff2c5 100644 --- a/commands/games-sp/horse-race.js +++ b/commands/games-sp/horse-race.js @@ -69,7 +69,7 @@ module.exports = class HorseRaceCommand extends Command { }); if (!msgs.size) return msg.reply('Sorry, can\'t have a race with no bets!'); const pick = chosenHorses[Number.parseInt(msgs.first().content, 10) - 1]; - const results = []; + let results = []; for (const horse of chosenHorses) { results.push({ name: horse.name,