细节完善
This commit is contained in:
@@ -143,12 +143,12 @@ async function onReceiveMessage(msg) {
|
||||
} else if (msg.type === MESSAGETYPESV2.HalfRest) {
|
||||
halfTime.value = true;
|
||||
audioManager.play("中场休息");
|
||||
} else if (type === MESSAGETYPESV2.InvalidShot) {
|
||||
} else if (msg.type === MESSAGETYPESV2.InvalidShot) {
|
||||
uni.showToast({
|
||||
title: "距离不足,无效",
|
||||
icon: "none",
|
||||
});
|
||||
audioManager.pLay("射击无效");
|
||||
audioManager.play("射击无效");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user