Fix loc bug
This commit is contained in:
parent
8be8696229
commit
040b8b9de4
@ -2196,7 +2196,7 @@ control.prototype.doSL = function (id, type) {
|
||||
});
|
||||
}
|
||||
if (id == 'autoSave' && core.saves.autosave.data != null) {
|
||||
afterGet(core.saves.autosave.data);
|
||||
afterGet(core.clone(core.saves.autosave.data));
|
||||
}
|
||||
else {
|
||||
core.getLocalForage(id=='autoSave'?id:"save"+id, null, function(data) {
|
||||
@ -2238,7 +2238,7 @@ control.prototype.doSL = function (id, type) {
|
||||
});
|
||||
}
|
||||
if (id == 'autoSave' && core.saves.autosave.data != null) {
|
||||
afterGet(core.saves.autosave.data);
|
||||
afterGet(core.clone(core.saves.autosave.data));
|
||||
}
|
||||
else {
|
||||
core.getLocalForage(id=='autoSave'?id:"save"+id, null, function(data) {
|
||||
|
||||
@ -301,7 +301,7 @@ events.prototype.gameOver = function (ending, fromReplay, norank) {
|
||||
doUpload("");
|
||||
}
|
||||
else {
|
||||
doUpload(prompt("请输入你的ID:", core.getCookie('id')));
|
||||
doUpload(prompt("请输入你的ID:", core.getCookie('id')||""));
|
||||
}
|
||||
}, function () {
|
||||
if (main.isCompetition)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user