Small fix
authorBenjamin Auder <benjamin.auder@somewhere>
Fri, 6 Mar 2020 13:47:15 +0000 (14:47 +0100)
committerBenjamin Auder <benjamin.auder@somewhere>
Fri, 6 Mar 2020 13:47:15 +0000 (14:47 +0100)
client/src/views/Game.vue

index edeb18f..8e03a86 100644 (file)
@@ -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;
         }