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
/
Allmate2.js
diff --git
a/client/src/variants/Allmate2.js
b/client/src/variants/Allmate2.js
index
424ff61
..
31d41be
100644
(file)
--- a/
client/src/variants/Allmate2.js
+++ b/
client/src/variants/Allmate2.js
@@
-207,8
+207,7
@@
export class Allmate2Rules extends ChessRules {
if (kp[0] < 0)
// King disappeared
return color == "w" ? "0-1" : "1-0";
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";
}
// Kings still there, no moves:
return "1/2";
}