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
/
Pandemonium2.js
diff --git
a/client/src/variants/Pandemonium2.js
b/client/src/variants/Pandemonium2.js
index
4a98083
..
2af56ea
100644
(file)
--- a/
client/src/variants/Pandemonium2.js
+++ b/
client/src/variants/Pandemonium2.js
@@
-12,7
+12,7
@@
export class Pandemonium2Rules extends ChessRules {
);
}
- loseOnRepetition() {
+
get
loseOnRepetition() {
// If current side is under check: lost
return this.underCheck(this.turn);
}