X-Git-Url: https://git.auder.net/?p=vchess.git;a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FGame.vue;h=8e03a861899ecdbec3b260aa1679fdbdf54460ef;hp=edeb18f3dc12112df3b46c7282129cacb5733b3d;hb=9ee2826a272b763b2d43980e2a638c045c4f6dba;hpb=8f4e861c970b09783b101a767f642f4afd94f90b diff --git a/client/src/views/Game.vue b/client/src/views/Game.vue index edeb18f3..8e03a861 100644 --- a/client/src/views/Game.vue +++ b/client/src/views/Game.vue @@ -540,7 +540,7 @@ export default { this.gameOver("1/2", message); } else if (this.drawOffer == "") { // No effect if drawOffer == "sent" - if (!!this.game.mycolor != this.vr.turn) { + if (this.game.mycolor != this.vr.turn) { alert(this.st.tr["Draw offer only in your turn"]); return; }