Faster game start for accepted live challenges
[vchess.git] / client / src / views / Hall.vue
index 71d7764..4a481df 100644 (file)
@@ -1300,11 +1300,10 @@ export default {
                 { body: "vs " + game.players[1-myIdx].name || "@nonymous" }
               );
             }
-            this.$router.push(
-              "/game/" + gameInfo.id + "/?focus=" + this.focus);
+            this.$router.push("/game/" + gameInfo.id);
           });
         },
-        this.focus ? 500 + 1000 * Math.random() : 0
+        this.focus ? 0 : 500 + 1000 * Math.random()
       );
     }
   }