projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: send fullgame without irrelevant fields
[vchess.git]
/
client
/
src
/
variants
/
Dark.js
diff --git
a/client/src/variants/Dark.js
b/client/src/variants/Dark.js
index
81f8700
..
96163bf
100644
(file)
--- a/
client/src/variants/Dark.js
+++ b/
client/src/variants/Dark.js
@@
-78,6
+78,11
@@
export const VariantRules = class DarkRules extends ChessRules {
}
}
+ filterValid(moves) {
+ // Used in the interface
+ return moves;
+ }
+
// Has to be redefined to avoid an infinite loop
getAllValidMoves() {
const color = this.turn;