This commit is contained in:
parent
d147a3fd87
commit
f45b1e7a66
11
game/game.js
11
game/game.js
|
@ -6684,7 +6684,9 @@
|
|||
localStorage.clear();
|
||||
localStorage.setItem('noname_inited',true);
|
||||
if(indexedDB) indexedDB.deleteDatabase(lib.configprefix+'data');
|
||||
window.location.reload();
|
||||
setTimeout(function(){
|
||||
window.location.reload();
|
||||
},200);
|
||||
}
|
||||
},
|
||||
'确认退出',
|
||||
|
@ -6702,7 +6704,9 @@
|
|||
if(confirm('游戏似乎未正常载入,是否重置游戏?')){
|
||||
localStorage.clear();
|
||||
if(indexedDB) indexedDB.deleteDatabase(lib.configprefix+'data');
|
||||
window.location.reload();
|
||||
setTimeout(function(){
|
||||
window.location.reload();
|
||||
},200);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -7439,10 +7443,9 @@
|
|||
delete window.resetGameTimeout;
|
||||
if(!game.syncMenu){
|
||||
delete window.resetExtension;
|
||||
localStorage.removeItem(lib.configprefix+'disable_extension',true);
|
||||
localStorage.removeItem(lib.configprefix+'disable_extension');
|
||||
}
|
||||
|
||||
|
||||
if(game.removeFile&&lib.config.brokenFile.length){
|
||||
while(lib.config.brokenFile.length){
|
||||
game.removeFile(lib.config.brokenFile.shift());
|
||||
|
|
Loading…
Reference in New Issue