loseOnRepetition: getter seems enough
[vchess.git] / client / src / views / Game.vue
index 1071ece..11a5925 100644 (file)
@@ -1447,7 +1447,7 @@ export default {
               ? this.repeat[fenObj] + 1
               : 1;
           if (this.repeat[fenObj] >= 3) {
-            if (this.vr.loseOnRepetition())
+            if (this.vr.loseOnRepetition)
               this.gameOver(moveCol == "w" ? "0-1" : "1-0", "Repetition");
             else this.drawOffer = "threerep";
           }