From: Benjamin Auder Date: Wed, 29 Apr 2020 08:15:33 +0000 (+0200) Subject: Faster game start for accepted live challenges X-Git-Url: https://git.auder.net/?p=vchess.git;a=commitdiff_plain;h=1f6bf26c9ba540bfb46483c0935694c70e8016cf;hp=f709e12f07c1f3316340c7d330031863ebbd5e75 Faster game start for accepted live challenges --- 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() ); } }