This commit is contained in:
Dragon Fire
2019-11-11 23:17:42 -05:00
parent 03da40c027
commit 527be67f5b
+1 -1
View File
@@ -41,7 +41,7 @@ module.exports = class RussianRouletteCommand extends Command {
let winner = null;
while (!winner) {
const player = userTurn ? msg.author : opponent;
const notPlayer = userTurn ? msg.author : opponent;
const notPlayer = userTurn ? opponent : msg.author;
if (gun[round]) {
await msg.say(`**${player.tag}** pulls the trigger... **And dies!**`);
winner = notPlayer;