From: Benjamin Auder Date: Sat, 17 Nov 2018 13:49:38 +0000 (+0100) Subject: Fix typo in Zen getNotation() X-Git-Url: https://git.auder.net/doc/html/pieces/img/css/DESCRIPTION?a=commitdiff_plain;h=52b1e238e0c85d5554d8edc07b728f83598a4a78;p=vchess.git Fix typo in Zen getNotation() --- diff --git a/public/javascripts/variants/Zen.js b/public/javascripts/variants/Zen.js index 54c77ad2..d9e22947 100644 --- a/public/javascripts/variants/Zen.js +++ b/public/javascripts/variants/Zen.js @@ -224,7 +224,7 @@ class ZenRules extends ChessRules String.fromCharCode(97 + move.end.y) + (VariantRules.size[0]-move.end.x); let notation = ""; - let piece = this.rules.getPiece(move.start.x, move.start.y); + let piece = this.getPiece(move.start.x, move.start.y); if (piece == VariantRules.PAWN) { // pawn move (TODO: enPassant indication)