diff --git a/src/routes/game/Forms/Info.svelte b/src/routes/game/Forms/Info.svelte index dded249..cf69d58 100644 --- a/src/routes/game/Forms/Info.svelte +++ b/src/routes/game/Forms/Info.svelte @@ -1,12 +1,9 @@ @@ -16,7 +13,6 @@ control={'not-control'} nextQuestion={() => { nextQuestion() - myAnswer = '' }} > {name} diff --git a/src/routes/game/Forms/Renderer.svelte b/src/routes/game/Forms/Renderer.svelte index 78719ce..48a64e2 100644 --- a/src/routes/game/Forms/Renderer.svelte +++ b/src/routes/game/Forms/Renderer.svelte @@ -41,13 +41,14 @@ const nextQuestion = () => { //další otázka - if (control !== null) { - control = null - if (clientAnswers.pos === clientAnswers.end) view = 'end' - else { - clientAnswers.pos++ - view = 'map' - } + + console.log({ control }) + + control = null + if (clientAnswers.pos === clientAnswers.end) view = 'end' + else { + clientAnswers.pos++ + view = 'map' } }