projects
/
xogo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
TODO: Cannibal + pawnfall, at least, fail
[xogo.git]
/
variants
/
Atomic
/
class.js
diff --git
a/variants/Atomic/class.js
b/variants/Atomic/class.js
index
b0662d3
..
924d222
100644
(file)
--- a/
variants/Atomic/class.js
+++ b/
variants/Atomic/class.js
@@
-30,7
+30,7
@@
export default class AtomicRules extends ChessRules {
canIplay(x, y) {
if (this.options["rempawn"] && this.movesCount == 0)
- return (this.
turn == side
&& this.getPiece(x, y) == "p");
+ return (this.
playerColor == this.turn
&& this.getPiece(x, y) == "p");
return super.canIplay(x, y);
}