projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix Bario checkmate by capturing an undefined piece
[vchess.git]
/
client
/
src
/
variants
/
Fusion.js
diff --git
a/client/src/variants/Fusion.js
b/client/src/variants/Fusion.js
index
2ead9ad
..
a0098ab
100644
(file)
--- a/
client/src/variants/Fusion.js
+++ b/
client/src/variants/Fusion.js
@@
-419,6
+419,10
@@
export class FusionRules extends ChessRules {
);
}
+ static get SEARCH_DEPTH() {
+ return 2;
+ }
+
getNotation(move) {
if (move.appear.length == 2 && move.vanish.length == 1) {
// Fission (because no capture in this case)