Skip to content

Commit 1efbff6

Browse files
committed
fix(game): fix remove round end api calls
1 parent ea0a3f4 commit 1efbff6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pages/play/index.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ onMounted(async () => {
5959
// Handle audio end / guess time limit reached
6060
audio.value.onended = async () => {
6161
// Automatically select first option if time runs out
62+
if(lastServerResponse.value?.was_last_round) return;
6263
await selectOption(round.value!.options[0]);
6364
}
6465

0 commit comments

Comments
 (0)