X-Git-Url: https://git.auder.net/game/%22%20%20%20data.gameInfo.gameId%20%20%20%22?a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FHall.vue;h=9b891d7583fb44006ba20a15b97d441ea03a2a27;hb=ce87ac6a12007a62a55a45e404f818df3eb90f64;hp=97df499ae476082ec751003e93fad02ed9f96227;hpb=4fe5664d48e37cf7e0de7562e8e76e8698b0ea74;p=vchess.git diff --git a/client/src/views/Hall.vue b/client/src/views/Hall.vue index 97df499a..9b891d75 100644 --- a/client/src/views/Hall.vue +++ b/client/src/views/Hall.vue @@ -584,6 +584,8 @@ export default { }, // NOTE: for live games only (corr games are launched on server) newGame: function(gameInfo) { + GameStorage.init(); //TODO here + localStorage["gid"] = getRandString(); // Extract times (in [milli]seconds), set clocks, store in localStorage const tc = extractTime(gameInfo.timeControl);