Fix replayLoad Bug
This commit is contained in:
parent
54b659b5d6
commit
094c5aec4b
@ -1576,7 +1576,7 @@ control.prototype._doSL_replayLoad = function (id) {
|
|||||||
else{
|
else{
|
||||||
core.getLocalForage(id=='autoSave'?id:"save"+id, null, function(data) {
|
core.getLocalForage(id=='autoSave'?id:"save"+id, null, function(data) {
|
||||||
if (id == 'autoSave') core.saves.autosave.data = core.clone(data);
|
if (id == 'autoSave') core.saves.autosave.data = core.clone(data);
|
||||||
core.control._doSL_replayLoad_afterGet(data);
|
core.control._doSL_replayLoad_afterGet(id, data);
|
||||||
}, function(err) {
|
}, function(err) {
|
||||||
main.log(err);
|
main.log(err);
|
||||||
alert("无效的存档");
|
alert("无效的存档");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user