X-Git-Url: https://git.auder.net/js/rpsls.js?a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FGame.vue;h=fc86e90d6c6e88c09ef1d3d2c229d4d476bddaa6;hb=4cf77a102880d53b242a972b7eaa43e75ba9c338;hp=65d46460758f23aabd7014b243b95cdd88a7ec11;hpb=f0a812b7b11bc2a1514d2aa10ecc257d10d988d5;p=vchess.git diff --git a/client/src/views/Game.vue b/client/src/views/Game.vue index 65d46460..fc86e90d 100644 --- a/client/src/views/Game.vue +++ b/client/src/views/Game.vue @@ -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"; }