This commit is contained in:
parent
210a813ad5
commit
d3ef6d1270
|
@ -5176,11 +5176,7 @@
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
if(confirm('游戏似乎未正常载入,是否重置游戏?')){
|
if(confirm('游戏似乎未正常载入,是否重置游戏?')){
|
||||||
var noname_inited=localStorage.getItem('noname_inited');
|
|
||||||
localStorage.clear();
|
localStorage.clear();
|
||||||
if(noname_inited){
|
|
||||||
localStorage.setItem('noname_inited',noname_inited);
|
|
||||||
}
|
|
||||||
if(indexedDB) indexedDB.deleteDatabase(lib.configprefix+'data');
|
if(indexedDB) indexedDB.deleteDatabase(lib.configprefix+'data');
|
||||||
window.location.reload();
|
window.location.reload();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue