X-Git-Url: https://git.auder.net/game/%22%20%20%20data.gameInfo.gameId%20%20%20%22?a=blobdiff_plain;f=public%2Fjavascripts%2Fvariants%2FGrand.js;h=8cdf6d7dcbb9f8b7e08984eaa2a3a3b92ea03563;hb=efb20746c30ac26f258f9c5de6dfb70b91980de4;hp=db0543fcb3aa29c3b20ab95ce77f69a7d52e1df8;hpb=8a196305a09269888497995373658f953b9b5bf8;p=vchess.git diff --git a/public/javascripts/variants/Grand.js b/public/javascripts/variants/Grand.js index db0543fc..8cdf6d7d 100644 --- a/public/javascripts/variants/Grand.js +++ b/public/javascripts/variants/Grand.js @@ -191,7 +191,6 @@ class GrandRules extends ChessRules if (move.vanish.length==2 && move.appear.length==1 && move.vanish[1].p != VariantRules.PAWN) { - // Capture: update this.captures this.captures[move.vanish[1].c][move.vanish[1].p] = Math.max(0, this.captures[move.vanish[1].c][move.vanish[1].p]-1); }