Finish code refactoring to generate initial positions (untested)
[xogo.git] / variants / Weiqi / class.js
index 714ada8..ca13fe1 100644 (file)
@@ -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 = {