From dc821737247aee1a0d93a232a292eeda940d06bc Mon Sep 17 00:00:00 2001
From: Benjamin Auder <benjamin.auder@somewhere>
Date: Fri, 6 Mar 2020 17:59:36 +0100
Subject: [PATCH] Fix 'next' button

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

diff --git a/client/src/views/MyGames.vue b/client/src/views/MyGames.vue
index d1f3e38a..e8439317 100644
--- a/client/src/views/MyGames.vue
+++ b/client/src/views/MyGames.vue
@@ -90,6 +90,7 @@ export default {
     showGame: function(game) {
       // TODO: "isMyTurn" is duplicated (see GameList component). myColor also
       const isMyTurn = (g) => {
+        if (g.score != "*") return false;
         const myColor =
           g.players[0].uid == this.st.user.id ||
           g.players[0].sid == this.st.user.sid
-- 
2.44.0