细节完善

This commit is contained in:
kron
2026-02-10 14:48:07 +08:00
parent b0bf1880e4
commit 88f1ef5d95
8 changed files with 31 additions and 22 deletions

View File

@@ -143,6 +143,12 @@ async function onReceiveMessage(msg) {
} else if (msg.type === MESSAGETYPESV2.HalfRest) {
halfTime.value = true;
audioManager.play("中场休息");
} else if (type === MESSAGETYPESV2.InvalidShot) {
uni.showToast({
title: "距离不足,无效",
icon: "none",
});
audioManager.pLay("射击无效");
}
}