细节修改

This commit is contained in:
kron
2025-07-18 15:04:29 +08:00
parent 4f4178b75d
commit b09f68789e
8 changed files with 50 additions and 28 deletions

View File

@@ -165,6 +165,10 @@ async function onReceiveMessage(messages = []) {
});
}
if (msg.constructor === MESSAGETYPES.ToSomeoneShoot) {
if (!start.value) {
start.value = true;
step.value = 3;
}
if (currentShooterId.value !== msg.userId) {
seq.value += 1;
currentShooterId.value = msg.userId;