X-Git-Url: https://git.auder.net/?p=vchess.git;a=blobdiff_plain;f=client%2Fsrc%2Fvariants%2FLosers.js;h=d82e57d5cc9ab2a68c54be776ce5b3f69713a53f;hp=daabbab4d1a646d0e6301cbf653781dcfbf58324;hb=801e28709e778bd3a93b014d1f9cb2fb7906e303;hpb=e6bcc1d87c65264608d1134a24d758e0f2a687c1 diff --git a/client/src/variants/Losers.js b/client/src/variants/Losers.js index daabbab4..d82e57d5 100644 --- a/client/src/variants/Losers.js +++ b/client/src/variants/Losers.js @@ -8,7 +8,7 @@ export class LosersRules extends ChessRules { return moves.filter(m => m.vanish.length == 2 && m.appear.length == 1); } - // Stop at the first capture found (if any) + // Stop at the first capture found (if any) atLeastOneCapture() { const color = this.turn; const oppCol = V.GetOppCol(color);