projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Improve last move highlighting colors
[vchess.git]
/
client
/
src
/
variants
/
Capture.js
diff --git
a/client/src/variants/Capture.js
b/client/src/variants/Capture.js
index
413356d
..
19ce734
100644
(file)
--- a/
client/src/variants/Capture.js
+++ b/
client/src/variants/Capture.js
@@
-6,7
+6,7
@@
export class CaptureRules extends ChessRules {
return moves.filter(m => m.vanish.length == 2 && m.appear.length == 1);
}
-
// Stop at the first capture found (if any)
+ // Stop at the first capture found (if any)
atLeastOneCapture() {
const color = this.turn;
const oppCol = V.GetOppCol(color);