projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Paco-Sako: allow castling with a rook in union + fix a bug in isAttacked()
[vchess.git]
/
client
/
src
/
variants
/
Bicolour.js
diff --git
a/client/src/variants/Bicolour.js
b/client/src/variants/Bicolour.js
index
eaa66d1
..
795f4ba
100644
(file)
--- a/
client/src/variants/Bicolour.js
+++ b/
client/src/variants/Bicolour.js
@@
-3,6
+3,7
@@
import { randInt } from "@/utils/alea";
import { ArrayFun } from "@/utils/array";
export class BicolourRules extends ChessRules {
+
static get HasFlags() {
return false;
}
@@
-108,4
+109,5
@@
export class BicolourRules extends ChessRules {
this.isAttacked(this.kingPos[color], 'b')
);
}
+
};