diff --git a/commands/games/battle.js b/commands/games/battle.js index 29f3acec..20ea1289 100644 --- a/commands/games/battle.js +++ b/commands/games/battle.js @@ -38,7 +38,7 @@ module.exports = class BattleCommand extends Command { } } while (!battle.winner) { - const choice = await battle.attacker.chooseAction(); + const choice = await battle.attacker.chooseAction(msg); if (choice === 'fight') { const damage = Math.floor(Math.random() * (battle.defender.guarding ? 5 : 50)) + 1; await msg.say(`${battle.attacker} deals **${damage}** damage!`);