From 005d527a2085e44db83ecc7f2a3005fdec9b488c Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sun, 5 May 2024 11:33:44 -0400 Subject: [PATCH] Update hunger-games.js --- commands/games-sp/hunger-games.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/commands/games-sp/hunger-games.js b/commands/games-sp/hunger-games.js index dbd950ac..5376da98 100644 --- a/commands/games-sp/hunger-games.js +++ b/commands/games-sp/hunger-games.js @@ -128,7 +128,11 @@ module.exports = class HungerGamesCommand extends Command { return event.tributes <= turn.size && event.deaths < turn.size; }); const event = valid[Math.floor(Math.random() * valid.length)]; - if (!event) console.log(tribute); + if (!event) { + console.log(tribute); + console.log(types); + console.log(valid); + } turn.delete(tribute.name); if (event.tributes === 1) { if (event.requires === 'food') tribute.food--;