细节优化
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user