From: Benjamin Auder Date: Wed, 20 Jan 2021 00:38:07 +0000 (+0100) Subject: Some fixes X-Git-Url: https://git.auder.net/js/pieces/css/current/git-logo.png?a=commitdiff_plain;h=6e799121443ff8a60bba9f12ec16776beba60a58;p=vchess.git Some fixes --- diff --git a/client/src/translations/about/en.pug b/client/src/translations/about/en.pug index 50c38957..f1e0c93a 100644 --- a/client/src/translations/about/en.pug +++ b/client/src/translations/about/en.pug @@ -46,6 +46,7 @@ h3 Related links a(href="https://greenchess.net/") greenchess.net a(href="http://pychess-variants.herokuapp.com/") pychess-variants.com a(href="https://glukkazan.github.io/") Dagaz demo + server + a(href="https://mindsports.nl/index.php") mindsports.nl a(href="https://www.jocly.com/#/games") jocly.com a(href="http://www.iggamecenter.com/") iggamecenter.com a(href="https://musketeerchess.net/home/index.html") musketeerchess.net diff --git a/client/src/translations/about/es.pug b/client/src/translations/about/es.pug index 2d236106..bcc6ff0c 100644 --- a/client/src/translations/about/es.pug +++ b/client/src/translations/about/es.pug @@ -45,6 +45,7 @@ h3 Enlaces relacionados a(href="https://greenchess.net/") greenchess.net a(href="http://pychess-variants.herokuapp.com/") pychess-variants.com a(href="https://glukkazan.github.io/") Dagaz demo + servidor + a(href="https://mindsports.nl/index.php") mindsports.nl a(href="https://www.jocly.com/#/games") jocly.com a(href="http://www.iggamecenter.com/") iggamecenter.com a(href="https://musketeerchess.net/home/index.html") musketeerchess.net diff --git a/client/src/translations/about/fr.pug b/client/src/translations/about/fr.pug index fe74c767..537a79ba 100644 --- a/client/src/translations/about/fr.pug +++ b/client/src/translations/about/fr.pug @@ -46,6 +46,7 @@ h3 Liens connexes a(href="https://greenchess.net/") greenchess.net a(href="http://pychess-variants.herokuapp.com/") pychess-variants.com a(href="https://glukkazan.github.io/") Dagaz demo + serveur + a(href="https://mindsports.nl/index.php") mindsports.nl a(href="https://www.jocly.com/#/games") jocly.com a(href="http://www.iggamecenter.com/") iggamecenter.com a(href="https://musketeerchess.net/home/index.html") musketeerchess.net diff --git a/client/src/variants/Fugue.js b/client/src/variants/Fugue.js index 12002fa4..c29324ac 100644 --- a/client/src/variants/Fugue.js +++ b/client/src/variants/Fugue.js @@ -37,6 +37,7 @@ export class FugueRules extends ChessRules { static get PIECES() { return [ + V.PAWN, V.QUEEN, V.KING, V.IMMOBILIZER, diff --git a/client/src/variants/Yote.js b/client/src/variants/Yote.js index d836bbd6..4e53fe91 100644 --- a/client/src/variants/Yote.js +++ b/client/src/variants/Yote.js @@ -242,7 +242,7 @@ export class YoteRules extends ChessRules { const mv = this.doClick([x, y]); return (!!mv ? [mv] : []); } - if (x >= V.size.x) return this.getReserveMoves([x, y]); + if (x >= V.size.x) return this.getReserveMoves(x); return this.getPotentialPawnMoves([x, y]); }