显示头像相框
This commit is contained in:
@@ -140,11 +140,8 @@ async function onReceiveMessage(messages = []) {
|
||||
}
|
||||
if (msg.constructor === MESSAGETYPES.ShootResult) {
|
||||
const isRed = redTeam.value.find((item) => item.id === msg.userId);
|
||||
if (isRed) {
|
||||
scores.value = [msg.target];
|
||||
} else {
|
||||
blueScores.value = [msg.target];
|
||||
}
|
||||
if (isRed) scores.value = [msg.target];
|
||||
else blueScores.value = [msg.target];
|
||||
}
|
||||
if (msg.constructor === MESSAGETYPES.CurrentRoundEnded) {
|
||||
const result = msg.preRoundResult;
|
||||
|
||||
Reference in New Issue
Block a user