From 9ee2826a272b763b2d43980e2a638c045c4f6dba Mon Sep 17 00:00:00 2001
From: Benjamin Auder <benjamin.auder@somewhere>
Date: Fri, 6 Mar 2020 14:47:15 +0100
Subject: [PATCH] Small fix

---
 client/src/views/Game.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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