X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fvariants%2FEightpieces.js;h=1033a5ae23d4cfdff7d3900755475464f458d53d;hb=d958cc6847b96a73b73623130b20e44bac9f7cb7;hp=465fbea924dc55d76c59c32e02b77fc1b83f3a1e;hpb=b0a0468aa6f436f2ad4962492561ef430a3bc15c;p=vchess.git diff --git a/client/src/variants/Eightpieces.js b/client/src/variants/Eightpieces.js index 465fbea9..1033a5ae 100644 --- a/client/src/variants/Eightpieces.js +++ b/client/src/variants/Eightpieces.js @@ -683,11 +683,7 @@ export const VariantRules = class EightpiecesRules extends ChessRules { this.movesCount >= 2 ? filteredMoves : filteredMoves.filter(m => { - return ( - m.vanish.length <= 1 || - m.appear.length != 1 || - basicFilter(m, oppCol) - ); + return (m.vanish.length <= 1 && basicFilter(m, oppCol)); }) ).concat(movesWithSentryPushes); }