fix bug
This commit is contained in:
@@ -46,7 +46,7 @@ async function onReceiveMessage(messages = []) {
|
||||
if (currentRound.value === 4) {
|
||||
currentRound.value = 1;
|
||||
}
|
||||
if (scores.value.length === total / 2) {
|
||||
if (practiseId && scores.value.length === total / 2) {
|
||||
showGuide.value = true;
|
||||
setTimeout(() => {
|
||||
showGuide.value = false;
|
||||
|
||||
@@ -40,7 +40,7 @@ async function onReceiveMessage(messages = []) {
|
||||
if (msg.constructor === MESSAGETYPES.ShootSyncMeArrowID) {
|
||||
if (scores.value.length < total) {
|
||||
scores.value.push(msg.target);
|
||||
if (scores.value.length === total / 2) {
|
||||
if (practiseId && scores.value.length === total / 2) {
|
||||
showGuide.value = true;
|
||||
setTimeout(() => {
|
||||
showGuide.value = false;
|
||||
|
||||
Reference in New Issue
Block a user