From 52b1e238e0c85d5554d8edc07b728f83598a4a78 Mon Sep 17 00:00:00 2001
From: Benjamin Auder <benjamin.auder@somewhere>
Date: Sat, 17 Nov 2018 14:49:38 +0100
Subject: [PATCH] Fix typo in Zen getNotation()

---
 public/javascripts/variants/Zen.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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)
-- 
2.44.0