细节优化

This commit is contained in:
kron
2025-11-06 16:08:02 +08:00
parent cf95e8c046
commit 5cefd8b36d
3 changed files with 25 additions and 5 deletions

View File

@@ -208,6 +208,7 @@ async function onReceiveMessage(messages = []) {
roundResults.value[currentRound.value - 1][
isRed ? "redArrows" : "blueArrows"
].push({ ...msg.target });
if (msg.battleInfo) recoverData(msg.battleInfo);
}
if (msg.constructor === MESSAGETYPES.CurrentRoundEnded) {
const result = msg.preRoundResult;