X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FHall.vue;h=4c73df229855abb3cc1cfd07002aeb4b2139d46c;hb=f2adb3d08cbbb9fcaf81c7e3abc625073c37e2c7;hp=d59946fbc25f5d6ac8daef81f43d95da582e388b;hpb=13102cabeb4e8c626f1c849369785c174f7aa512;p=vchess.git diff --git a/client/src/views/Hall.vue b/client/src/views/Hall.vue index d59946fb..4c73df22 100644 --- a/client/src/views/Hall.vue +++ b/client/src/views/Hall.vue @@ -227,10 +227,7 @@ export default { vid: parseInt(localStorage.getItem("vid")) || 0, to: "", //name of challenged player (if any) cadence: localStorage.getItem("cadence") || "", - randomness: - parseInt(localStorage.getItem("challRandomness")) || - // Default to global randomness if no challenges issued yet: - this.st.settings.randomness, + randomness: parseInt(localStorage.getItem("challRandomness")) || 2, // VariantRules object, stored to not interfere with // diagrams of targetted challenges: V: null,