From b940d240a21044e303d284b3306fc632dcfe3c58 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sat, 13 Mar 2021 13:16:01 -0500 Subject: [PATCH] Fix lint --- commands/games-mp/apples-to-apples.js | 2 ++ commands/games-mp/cards-against-humanity.js | 2 ++ 2 files changed, 4 insertions(+) diff --git a/commands/games-mp/apples-to-apples.js b/commands/games-mp/apples-to-apples.js index efcb1566..8eeb81eb 100644 --- a/commands/games-mp/apples-to-apples.js +++ b/commands/games-mp/apples-to-apples.js @@ -104,8 +104,10 @@ module.exports = class ApplesToApplesCommand extends Command { await msg.say('Hmm... No one wins. Dealing back cards...'); for (const pick of cards) { for (const card of pick.cards) { + /* eslint-disable max-depth */ if (!game.players.has(pick.id)) continue; game.players.get(pick.id).hand.add(card); + /* eslint-enable max-depth */ } } game.czar.strikes++; diff --git a/commands/games-mp/cards-against-humanity.js b/commands/games-mp/cards-against-humanity.js index 05364265..81d5f241 100644 --- a/commands/games-mp/cards-against-humanity.js +++ b/commands/games-mp/cards-against-humanity.js @@ -104,8 +104,10 @@ module.exports = class CardsAgainstHumanityCommand extends Command { await msg.say('Hmm... No one wins. Dealing back cards...'); for (const pick of cards) { for (const card of pick.cards) { + /* eslint-disable max-depth */ if (!game.players.has(pick.id)) continue; game.players.get(pick.id).hand.add(card); + /* eslint-enable max-depth */ } } game.czar.strikes++;