X-Git-Url: https://git.auder.net/img/rock_paper_scissors_lizard_spock.gif?a=blobdiff_plain;f=client%2Fsrc%2Fvariants%2FBall.js;h=c9bdb33915b4652a79af0e164eb1f177f66c54b9;hb=42e379837d6d621f4b1464f267c2d50f525110e4;hp=03a9b483d0864a5fc1cc191bd2eab5cbaa829bb0;hpb=a6363ac14efd09ad3c08c929a06af462995201bc;p=vchess.git diff --git a/client/src/variants/Ball.js b/client/src/variants/Ball.js index 03a9b483..c9bdb339 100644 --- a/client/src/variants/Ball.js +++ b/client/src/variants/Ball.js @@ -362,6 +362,7 @@ export class BallRules extends ChessRules { if ( m.vanish.length == 2 && m.vanish[1].p != 'a' && + m.vanish[0].c != m.vanish[1].c && Object.keys(V.HAS_BALL_DECODE).includes(m.appear[0].p) ) { const color = this.turn;