逻辑完善
This commit is contained in:
@@ -50,7 +50,7 @@ async function onReceiveMessage(message) {
|
||||
if (ended.value) return;
|
||||
if (Array.isArray(message)) return;
|
||||
if (message.type === MESSAGETYPESV2.BattleStart) {
|
||||
melee.value = Boolean(message.mode);
|
||||
melee.value = Boolean(message.mode > 3);
|
||||
totalShot.value = message.mode === 1 ? 3 : 2;
|
||||
currentRoundEnded.value = true;
|
||||
audioManager.play("比赛开始");
|
||||
|
||||
Reference in New Issue
Block a user