diff --git a/commands/games-mp/nim.js b/commands/games-mp/nim.js index 4e078a09..41569a9a 100644 --- a/commands/games-mp/nim.js +++ b/commands/games-mp/nim.js @@ -202,6 +202,7 @@ module.exports = class NimCommand extends Command { let finalValues = null; while (keepGoing) { if (board[i] === 0) { + i++; continue; } else { board[i] -= 1;