projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add Relayup
[vchess.git]
/
client
/
src
/
variants
/
Atomic1.js
diff --git
a/client/src/variants/Atomic1.js
b/client/src/variants/Atomic1.js
index
27769a7
..
c44c2ca
100644
(file)
--- a/
client/src/variants/Atomic1.js
+++ b/
client/src/variants/Atomic1.js
@@
-91,7
+91,8
@@
export class Atomic1Rules extends ChessRules {
) {
this.kingPos[c] = [-1, -1];
this.castleFlags[c] = [8, 8];
- } else {
+ }
+ else {
// Now check if init rook(s) exploded
if (Math.abs(move.end.x - firstRank[c]) <= 1) {
if (Math.abs(move.end.y - this.castleFlags[c][0]) <= 1)