From: Benjamin Auder Date: Fri, 5 Jun 2020 20:31:01 +0000 (+0200) Subject: Fix typo X-Git-Url: https://git.auder.net/%7B%7B%20asset%28%27mixstore/css/img/pieces/mini-custom.min.css?a=commitdiff_plain;h=da62e40a9acaf01c70724f340f9ca2d46f27d726;p=vchess.git Fix typo --- diff --git a/client/src/variants/Monochrome.js b/client/src/variants/Monochrome.js index 50ca04b1..4a24e606 100644 --- a/client/src/variants/Monochrome.js +++ b/client/src/variants/Monochrome.js @@ -119,7 +119,7 @@ export class MonochromeRules extends ChessRules { return moves.concat(zenCaptures.filter(m => { const hash = m.start.x + "." + m.start.y + "." + m.end.x + "." + m.end.y; return !hashMoves[hash]; - }); + })); } getAllPotentialMoves() {