Fix Dynamo for corr play
[vchess.git] / client / src / variants / Dynamo.js
index 91920e0..3cb8dc4 100644 (file)
@@ -9,7 +9,7 @@ export class DynamoRules extends ChessRules {
 
   canIplay(side, [x, y]) {
     // Sometimes opponent's pieces can be moved directly
-    return true;
+    return this.turn == side;
   }
 
   setOtherVariables(fen) {