From 6cf7ae85f02f8f11467785c309da118c36a9d1a7 Mon Sep 17 00:00:00 2001 From: Jeremiah <43737601+bullfrog0981@users.noreply.github.com> Date: Tue, 10 Dec 2019 17:23:57 -0500 Subject: [PATCH] Change notPlayer to player (#39) For some reason notPlayer would use the current player that said no, this might just be for me but i'm going to propose this change anyhow --- commands/mp-games/russian-roulette.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/mp-games/russian-roulette.js b/commands/mp-games/russian-roulette.js index 04054d01..a88e8faa 100644 --- a/commands/mp-games/russian-roulette.js +++ b/commands/mp-games/russian-roulette.js @@ -53,7 +53,7 @@ module.exports = class RussianRouletteCommand extends Command { `); const keepGoing = await verify(msg.channel, opponent.bot ? msg.author : notPlayer); if (!keepGoing) { - winner = notPlayer; + winner = player; quit = true; } round++;