mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-05 00:06:42 +02:00
Fix
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user