添加射击无效语音

This commit is contained in:
kron
2025-08-26 18:00:40 +08:00
parent 448df06daf
commit eb076df7d5
4 changed files with 7 additions and 3 deletions

View File

@@ -60,9 +60,10 @@ async function onReceiveMessage(messages = []) {
}
} else if (msg.constructor === MESSAGETYPES.InvalidShot) {
uni.showToast({
title: "无效射击",
title: "距离不足,无效",
icon: "none",
});
audioManager.play("射击无效");
} else if (msg.constructor === MESSAGETYPES.AllReady) {
currentRoundEnded.value = true;
audioManager.play("比赛开始");