升级逻辑完善
This commit is contained in:
@@ -453,7 +453,7 @@ async function onReceiveMessage(messages = []) {
|
||||
tips.value = "准备下半场";
|
||||
}
|
||||
if (msg.constructor === MESSAGETYPES.MatchOver) {
|
||||
uni.setStorageSync("last-battle", msg.endStatus);
|
||||
uni.setStorageSync("last-battle", { ...msg.endStatus, lvl: msg.lvl });
|
||||
if (msg.endStatus.nosaved) {
|
||||
uni.showToast({
|
||||
title: "游戏结束",
|
||||
|
||||
Reference in New Issue
Block a user