projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix typo in Zen getNotation()
[vchess.git]
/
public
/
javascripts
/
variants
/
Zen.js
diff --git
a/public/javascripts/variants/Zen.js
b/public/javascripts/variants/Zen.js
index
54c77ad
..
d9e2294
100644
(file)
--- 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 = "";
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)
if (piece == VariantRules.PAWN)
{
// pawn move (TODO: enPassant indication)