projects
/
xogo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Finish code refactoring to generate initial positions (untested)
[xogo.git]
/
variants
/
Weiqi
/
class.js
diff --git
a/variants/Weiqi/class.js
b/variants/Weiqi/class.js
index
714ada8
..
ca13fe1
100644
(file)
--- a/
variants/Weiqi/class.js
+++ b/
variants/Weiqi/class.js
@@
-89,7
+89,7
@@
export default class WeiqiRules extends ChessRules {
constructor(o) {
super(o);
- if (!o.
genFenOnly && !o.
diagram) {
+ if (!o.diagram) {
this.passListener = () => {
if (this.turn == this.playerColor) {
let mv = {