From 1f6bf26c9ba540bfb46483c0935694c70e8016cf Mon Sep 17 00:00:00 2001 From: Benjamin Auder <benjamin.auder@somewhere> Date: Wed, 29 Apr 2020 10:15:33 +0200 Subject: [PATCH] Faster game start for accepted live challenges --- client/src/views/Hall.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/views/Hall.vue b/client/src/views/Hall.vue index 96174c1d..4a481df7 100644 --- a/client/src/views/Hall.vue +++ b/client/src/views/Hall.vue @@ -1303,7 +1303,7 @@ export default { this.$router.push("/game/" + gameInfo.id); }); }, - this.focus ? 500 + 1000 * Math.random() : 0 + this.focus ? 0 : 500 + 1000 * Math.random() ); } } -- 2.44.0