From ea0a9d89b3b45e86c8d138667f582ebabeee60c1 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sun, 2 May 2021 09:03:05 -0400 Subject: [PATCH] Fix lint --- commands/games-mp/russian-roulette.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/commands/games-mp/russian-roulette.js b/commands/games-mp/russian-roulette.js index 87010324..b6acfa32 100644 --- a/commands/games-mp/russian-roulette.js +++ b/commands/games-mp/russian-roulette.js @@ -64,6 +64,7 @@ module.exports = class RussianRouletteCommand extends Command { `); if (!nextUp.bot) { let first = true; + /* eslint-disable max-depth */ for (const next of turn) { const nextPlayer = players.get(next); if (!first) { @@ -78,6 +79,7 @@ module.exports = class RussianRouletteCommand extends Command { players.delete(next); removeFromArray(turn, next); } + /* eslint-enable max-depth */ } if (players.size === 1) winner = players.first(); round++;