projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix computer games for Apocalypse variant
[vchess.git]
/
client
/
src
/
variants
/
Allmate1.js
diff --git
a/client/src/variants/Allmate1.js
b/client/src/variants/Allmate1.js
index
3d84300
..
d07474b
100644
(file)
--- a/
client/src/variants/Allmate1.js
+++ b/
client/src/variants/Allmate1.js
@@
-203,8
+203,7
@@
export class Allmate1Rules extends ChessRules {
if (kp[0] < 0)
// King disappeared
return color == "w" ? "0-1" : "1-0";
- if (this.atLeastOneMove())
- return "*";
+ if (this.atLeastOneMove()) return "*";
// Kings still there, no moves:
return "1/2";
}