diff --git a/libs/actions.js b/libs/actions.js index a1011943..bd23b4d9 100644 --- a/libs/actions.js +++ b/libs/actions.js @@ -2062,6 +2062,7 @@ actions.prototype.clickSyncSave = function (x,y) { core.removeLocalForage("save"+i); } } + core.ui.closePanel(); core.drawText("读取成功!\n你的本地所有存档均已被覆盖。"); }, function () { core.status.event.selection=0; diff --git a/libs/control.js b/libs/control.js index e97f3178..bdefeb45 100644 --- a/libs/control.js +++ b/libs/control.js @@ -2369,6 +2369,7 @@ control.prototype.syncLoad = function () { core.removeLocalForage("save"+i); } } + core.ui.closePanel(); core.drawText("同步成功!\n你的本地所有存档均已被覆盖。"); }, function () { core.status.event.selection=0; diff --git a/libs/events.js b/libs/events.js index fa30955f..d92d3c96 100644 --- a/libs/events.js +++ b/libs/events.js @@ -278,7 +278,7 @@ events.prototype.gameOver = function (ending, fromReplay, norank) { var doUpload = function(username) { var hp = core.status.hero.hp; if (username==undefined) hp = 1; - + core.ui.closePanel(); // upload var formData = new FormData(); formData.append('type', 'score');