Skip to content

Commit

Permalink
行けてほしい
Browse files Browse the repository at this point in the history
  • Loading branch information
dye8128 committed Jun 16, 2024
1 parent c09e721 commit d7cd3ff
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/pages/PlayScreen.vue
Original file line number Diff line number Diff line change
Expand Up @@ -810,14 +810,13 @@ document.addEventListener("keydown", (e: KeyboardEvent) => {
key_done: keygraph.key_done()
}
} else {
score.value -= 10;
misstype.value++;
}
if (keygraph.is_finished()) {
// すべての文字をタイプし終わったとき
i++;
show_messages.value.push(all_messages[i]);
if (i == all_messages.length) {
if (i == all_messages.length - 1) {
router.push({ name: 'Result' })
}
keygraph.build(all_messages[i].yomi);
Expand Down

0 comments on commit d7cd3ff

Please sign in to comment.