projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
loseOnRepetition: getter seems enough
[vchess.git]
/
client
/
src
/
variants
/
Shogi.js
diff --git
a/client/src/variants/Shogi.js
b/client/src/variants/Shogi.js
index
9806351
..
95be2d1
100644
(file)
--- a/
client/src/variants/Shogi.js
+++ b/
client/src/variants/Shogi.js
@@
-24,7
+24,7
@@
export class ShogiRules extends ChessRules {
return true;
}
- loseOnRepetition() {
+
get
loseOnRepetition() {
// If current side is under check: lost
return this.underCheck(this.turn);
}