X-Git-Url: https://git.auder.net/?p=vchess.git;a=blobdiff_plain;f=client%2Fsrc%2Fvariants%2FLosers.js;h=ea2838096ff8b1d5196d58a2d6a53f312c231e37;hp=7bd5e5413273e31ccfcbb86ecea3a144c499ebdb;hb=0fb43db7c2858201e8410670b90f95ad8b138964;hpb=1186fba725f3da468f8834a9b44d58993a7d86d4 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;