diff --git a/src/routes/game/Forms/MultiChoiceForm.svelte b/src/routes/game/Forms/MultiChoiceForm.svelte index 1000232..a5ef9c7 100644 --- a/src/routes/game/Forms/MultiChoiceForm.svelte +++ b/src/routes/game/Forms/MultiChoiceForm.svelte @@ -8,6 +8,8 @@ export let myAnswer let myAnswers = new Array(checkPoint.CPOptions.length).fill(false) + export let clear = false + $: if (clear) myAnswers = new Array(checkPoint.CPOptions.length).fill(false) $: myAnswer = checkPoint.CPOptions.filter((item, i) => { if (myAnswers[i] === true) return item })