fix bug
This commit is contained in:
@@ -84,7 +84,7 @@ async function onReceiveMessage(messages = []) {
|
|||||||
ended.value = true;
|
ended.value = true;
|
||||||
} else if (msg.constructor === MESSAGETYPES.BackToGame) {
|
} else if (msg.constructor === MESSAGETYPES.BackToGame) {
|
||||||
if (msg.battleInfo) {
|
if (msg.battleInfo) {
|
||||||
melee.value = msg.battleInfo.config.battleMode === 2;
|
melee.value = msg.battleInfo.config.mode === 2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user