From: Benjamin Auder Date: Fri, 5 Jun 2020 20:31:01 +0000 (+0200) Subject: Fix typo X-Git-Url: https://git.auder.net/doc/html/css/current/scripts/pieces/%7B%7B%20targetUrl%20%7D%7D?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() {