From 3cfd9287bfde5b5aad1e0dee61d084c690b1e54d Mon Sep 17 00:00:00 2001
From: Benjamin Auder <benjamin.auder@somewhere>
Date: Fri, 1 May 2020 01:21:00 +0200
Subject: [PATCH] Fix analyze button

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

diff --git a/client/src/components/BaseGame.vue b/client/src/components/BaseGame.vue
index d60a16ff..e7e097fb 100644
--- a/client/src/components/BaseGame.vue
+++ b/client/src/components/BaseGame.vue
@@ -141,7 +141,7 @@ export default {
     },
     canAnalyze: function() {
       return (
-        !!this.game.mode && this.game.mode != "analyze" &&
+        (!this.game.mode || this.game.mode != "analyze") &&
         !!this.vr && this.vr.canAnalyze
       );
     },
-- 
2.44.0