From 620a88ede2ad25e66d9cbb521388ee53e4a564c0 Mon Sep 17 00:00:00 2001
From: Benjamin Auder <benjamin.auder@somewhere>
Date: Fri, 6 Mar 2020 18:32:06 +0100
Subject: [PATCH] Fix README, TODO and a mistake in MyGames

---
 README.md                    | 6 +-----
 TODO                         | 3 ---
 client/src/views/MyGames.vue | 4 +++-
 3 files changed, 4 insertions(+), 9 deletions(-)

diff --git a/README.md b/README.md
index b90c60d7..c92b1459 100644
--- a/README.md
+++ b/README.md
@@ -2,11 +2,7 @@
 
 Website to play to many chess variants, including rare ones - some almost
 never seen elsewhere, like "l'&Eacute;chiquet&eacute;" [french], renamed "checkered chess"
-in English.
-
-Notes:
- - Games start with a random assymetric position!
- - No ratings, no tournaments: no "competition spirit"
+in English. No ratings, no tournaments: no "competition spirit".
 
 ## Get involved
 
diff --git a/TODO b/TODO
index 3d736583..833dcb32 100644
--- a/TODO
+++ b/TODO
@@ -11,9 +11,6 @@ Rematch button (change colors, re-apply randomness params (which should be saved
   --> need a bit more duplicated logic: in Game page, listen for newgame, and add a "launchGame" function
 Will need a 'rematch' field in Game on server
 
-Store sid on server in user, so that multi-accounts on same browser works better
-(and require no more the check on names in Game in isConnected() )
-
 # New variants
 8-pieces https://www.youtube.com/watch?v=XZ8K02Da7Ps&list=PLRyjH8DPuzTBiym6lA0r84P8N0HnTtZyN&index=6&t=0s
 https://www.chessvariants.com/rules/8-piece-chess
diff --git a/client/src/views/MyGames.vue b/client/src/views/MyGames.vue
index e8439317..bcf7d182 100644
--- a/client/src/views/MyGames.vue
+++ b/client/src/views/MyGames.vue
@@ -102,8 +102,10 @@ export default {
           (rem == 1 && myColor == "b")
         );
       };
-      if (game.type == "live" || !isMyTurn(game))
+      if (game.type == "live" || !isMyTurn(game)) {
         this.$router.push("/game/" + game.id);
+        return;
+      }
       // It's my turn in this game. Are there others?
       let nextIds = "";
       let otherCorrGamesMyTurn = this.corrGames.filter(
-- 
2.44.0