From: Benjamin Auder <benjamin.auder@somewhere>
Date: Fri, 6 Mar 2020 13:47:15 +0000 (+0100)
Subject: Small fix
X-Git-Url: https://git.auder.net/variants/Chakart/pieces/current/css/DESCRIPTION?a=commitdiff_plain;h=9ee2826a272b763b2d43980e2a638c045c4f6dba;p=vchess.git

Small fix
---

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;
         }