X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fvariants%2FLosers.js;h=ea2838096ff8b1d5196d58a2d6a53f312c231e37;hb=89a6214b27561878670914a65902aa51682efe61;hp=7bd5e5413273e31ccfcbb86ecea3a144c499ebdb;hpb=7e8a7ea1cb66adb4a987badfb0a3c2f99a21bd0a;p=vchess.git diff --git a/client/src/variants/Losers.js b/client/src/variants/Losers.js index 7bd5e541..ea283809 100644 --- a/client/src/variants/Losers.js +++ b/client/src/variants/Losers.js @@ -35,9 +35,6 @@ export class LosersRules extends ChessRules { getPossibleMovesFrom(sq) { let moves = this.filterValid(this.getPotentialMovesFrom(sq)); const captureMoves = V.KeepCaptures(moves); - -console.log(this.atLeastOneCapture()); - if (captureMoves.length > 0) return captureMoves; if (this.atLeastOneCapture()) return []; return moves;