BUG修复
This commit is contained in:
@@ -145,10 +145,12 @@ async function onReceiveMessage(messages = []) {
|
||||
timerSeq.value = 0;
|
||||
scores.value = [];
|
||||
totalRounds.value = msg.groupUserStatus.config.maxRounds;
|
||||
roundResults.value.push({
|
||||
redArrows: [],
|
||||
blueArrows: [],
|
||||
});
|
||||
// 返回游戏时候会加上,加了就不用再加了
|
||||
if (!roundResults.value.length)
|
||||
roundResults.value.push({
|
||||
redArrows: [],
|
||||
blueArrows: [],
|
||||
});
|
||||
}
|
||||
if (msg.constructor === MESSAGETYPES.ToSomeoneShoot) {
|
||||
if (currentShooterId.value !== msg.userId) {
|
||||
|
||||
Reference in New Issue
Block a user