添加射击无效语音
This commit is contained in:
@@ -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("比赛开始");
|
||||
|
||||
Reference in New Issue
Block a user