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/images/doc/html/common.css?a=commitdiff_plain;h=1f6bf26c9ba540bfb46483c0935694c70e8016cf;p=vchess.git 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() ); } }