添加X环显示

This commit is contained in:
kron
2026-02-09 15:09:50 +08:00
parent 1a5a488776
commit b37f181c0f
4 changed files with 23 additions and 17 deletions

View File

@@ -136,7 +136,7 @@ async function onReceiveMessage(msg) {
if (msg.shootData) arrow = msg.shootData;
}
let key = [];
key.push(arrow.ring ? `${arrow.ring}` : "未上靶");
key.push(arrow.ring ? `${arrow.ringX ? "X" : arrow.ring}` : "未上靶");
if (!arrow.ring) key.push(`${getDirectionText(arrow.angle)}调整`);
audioManager.play(key, false);
} else if (msg.type === MESSAGETYPESV2.HalfRest) {