From: Benjamin Auder Date: Wed, 8 Apr 2020 17:37:03 +0000 (+0200) Subject: Fix typo in Sittuyin variant X-Git-Url: https://git.auder.net/app_dev.php/bundles/doc/html/index.html?a=commitdiff_plain;h=6813103a75fecb750f8d0ae77f699ed0cb11178c;p=vchess.git Fix typo in Sittuyin variant --- diff --git a/client/src/variants/Sittuyin.js b/client/src/variants/Sittuyin.js index 322439df..ccdd7b23 100644 --- a/client/src/variants/Sittuyin.js +++ b/client/src/variants/Sittuyin.js @@ -316,7 +316,7 @@ export class SittuyinRules extends ChessRules { const initSquare = V.CoordsToSquare({ x: move.vanish[0].x, y: move.vanish[0].y }) const destSquare = - V.CoordsToSquare({ x: move.vanish[0].x, y: move.vanish[0].y }) + V.CoordsToSquare({ x: move.appear[0].x, y: move.appear[0].y }) const prefix = (initSquare != destSquare ? initSquare : ""); return prefix + destSquare + "=Q"; }