drawConfirmBox closePanel
This commit is contained in:
parent
b11d833988
commit
aef9651610
@ -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;
|
||||
|
||||
@ -2369,6 +2369,7 @@ control.prototype.syncLoad = function () {
|
||||
core.removeLocalForage("save"+i);
|
||||
}
|
||||
}
|
||||
core.ui.closePanel();
|
||||
core.drawText("同步成功!\n你的本地所有存档均已被覆盖。");
|
||||
}, function () {
|
||||
core.status.event.selection=0;
|
||||
|
||||
@ -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');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user