Advance on Checkered. TODO: fix checks detection by checkered pieces
[xogo.git] / variants / Bario / class.js
index 1874383..2dd64d6 100644 (file)
@@ -233,7 +233,7 @@ export default class BarioRules extends ChessRules {
   tryChangeTurn(move, captureUndef) {
     this.definition = null;
     this.subTurn = captureUndef ? 0 : 1;
-    this.turn = C.GetOppCol(this.turn);
+    this.turn = C.GetOppTurn(this.turn);
     this.movesCount++;
   }