projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
'update'
[vchess.git]
/
client
/
src
/
variants
/
Benedict.js
diff --git
a/client/src/variants/Benedict.js
b/client/src/variants/Benedict.js
index
e87827f
..
4a31fce
100644
(file)
--- a/
client/src/variants/Benedict.js
+++ b/
client/src/variants/Benedict.js
@@
-290,4
+290,15
@@
export const VariantRules = class BenedictRules extends ChessRules {
// Stalemate:
return "1/2";
}
+
+ getNotation(move) {
+ // Just remove flips:
+ const basicMove = {
+ appear: [move.appear[0]],
+ vanish: [move.vanish[0]],
+ start: move.start,
+ end: move.end
+ };
+ return super.getNotation(basicMove);
+ }
};