From 80c94eecb4c9753823dcd8da0e9d397a55dd5b43 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Thu, 2 May 2024 21:08:40 -0400 Subject: [PATCH] Fix --- commands/games-sp/hunger-games.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/games-sp/hunger-games.js b/commands/games-sp/hunger-games.js index 75f90dc8..49c8183c 100644 --- a/commands/games-sp/hunger-games.js +++ b/commands/games-sp/hunger-games.js @@ -94,7 +94,7 @@ module.exports = class HungerGamesCommand extends Command { if (bloodbath) bloodbath = false; }; return msg.say(stripIndents` - And the winner is... **${players.first().name}**! + And the winner is... **${players.filter(player => !player.dead).first().name}**! __**Kills Leaderboard:**__ ${this.makeLeaderboard(players).join('\n') || 'No one killed anyone...'}