Fix clocks in corr games
[vchess.git] / client / src / variants / Dark.js
index 81f8700..96163bf 100644 (file)
@@ -78,6 +78,11 @@ export const VariantRules = class DarkRules extends ChessRules {
     }
   }
 
+  filterValid(moves) {
+    // Used in the interface
+    return moves;
+  }
+
   // Has to be redefined to avoid an infinite loop
   getAllValidMoves() {
     const color = this.turn;