projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Prevent playing on opponent's turn in Avalanche
[vchess.git]
/
client
/
src
/
variants
/
Chakart.js
diff --git
a/client/src/variants/Chakart.js
b/client/src/variants/Chakart.js
index
e5473d7
..
f170f70
100644
(file)
--- a/
client/src/variants/Chakart.js
+++ b/
client/src/variants/Chakart.js
@@
-30,7
+30,7
@@
export class ChakartRules extends ChessRules {
return true;
}
- hoverHighlight(
x, y
) {
+ hoverHighlight(
[x, y]
) {
if (this.subTurn == 1) return false;
const L = this.firstMove.length;
const fm = this.firstMove[L-1];