From 14ea70d03be682f4bdee9915bbfe0e33c8fcd1ff Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Sun, 11 Jun 2017 14:31:52 +0000 Subject: [PATCH] I hate my life --- commands/games/battle.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/commands/games/battle.js b/commands/games/battle.js index f34cdba8..fb47d4a3 100644 --- a/commands/games/battle.js +++ b/commands/games/battle.js @@ -69,6 +69,7 @@ module.exports = class BattleCommand extends Command { if (!turn.size) { await msg.say('Time!'); forfeit(); + break; } const choice = turn.first().content.toLowerCase(); if (choice === 'fight') { @@ -94,6 +95,7 @@ module.exports = class BattleCommand extends Command { } else if (choice === 'run') { await msg.say(`**${username}** flees!`); forfeit(); + break; } else { await msg.say('I do not understand what you want to do.'); }