X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FHall.vue;h=9b891d7583fb44006ba20a15b97d441ea03a2a27;hb=ce87ac6a12007a62a55a45e404f818df3eb90f64;hp=97df499ae476082ec751003e93fad02ed9f96227;hpb=a6088c906bbe6fae95707dc7028e45023fe39981;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);