Add last 2 variants in DB - still small bugs - will fix tomorrow
[vchess.git] / client / src / base_rules.js
index 0a68127..4c90f1d 100644 (file)
@@ -662,7 +662,7 @@ export const ChessRules = class ChessRules {
       case V.QUEEN: return this.getPotentialQueenMoves(sq);
       case V.KING: return this.getPotentialKingMoves(sq);
     }
-    return []; //never reached
+    return []; //never reached (but some variants may use it: Bario...)
   }
 
   // Build a regular move from its initial and destination squares.