Experimental loss on repetition for Shogi and Pandemonium. Simplify Crazyhouse, with...
[vchess.git] / client / src / views / Game.vue
index 65d4646..fc86e90 100644 (file)
@@ -1414,7 +1414,7 @@ export default {
               ? this.repeat[fenObj] + 1
               : 1;
           if (this.repeat[fenObj] >= 3) {
-            if (V.LoseOnRepetition)
+            if (this.vr.loseOnRepetition())
               this.gameOver(moveCol == "w" ? "0-1" : "1-0", "Repetition");
             else this.drawOffer = "threerep";
           }