reset
This commit is contained in:
parent
e6e779bd9b
commit
87f55feb01
|
@ -13,7 +13,7 @@
|
||||||
var noname_inited=localStorage.getItem('noname_inited');
|
var noname_inited=localStorage.getItem('noname_inited');
|
||||||
localStorage.clear();
|
localStorage.clear();
|
||||||
if(noname_inited){
|
if(noname_inited){
|
||||||
localStorage.setItem(noname_inited);
|
localStorage.setItem('noname_inited',noname_inited);
|
||||||
}
|
}
|
||||||
if(indexedDB) indexedDB.deleteDatabase('noname_0.9_data');
|
if(indexedDB) indexedDB.deleteDatabase('noname_0.9_data');
|
||||||
window.location.reload();
|
window.location.reload();
|
||||||
|
@ -1485,7 +1485,7 @@
|
||||||
var noname_inited=localStorage.getItem('noname_inited');
|
var noname_inited=localStorage.getItem('noname_inited');
|
||||||
localStorage.clear();
|
localStorage.clear();
|
||||||
if(noname_inited){
|
if(noname_inited){
|
||||||
localStorage.setItem(noname_inited);
|
localStorage.setItem('noname_inited',noname_inited);
|
||||||
}
|
}
|
||||||
game.reload();
|
game.reload();
|
||||||
return;
|
return;
|
||||||
|
@ -15900,7 +15900,7 @@
|
||||||
var noname_inited=localStorage.getItem('noname_inited');
|
var noname_inited=localStorage.getItem('noname_inited');
|
||||||
localStorage.clear();
|
localStorage.clear();
|
||||||
if(noname_inited){
|
if(noname_inited){
|
||||||
localStorage.setItem(noname_inited);
|
localStorage.setItem('noname_inited',noname_inited);
|
||||||
}
|
}
|
||||||
for(var i in data){
|
for(var i in data){
|
||||||
localStorage.setItem(i,data[i]);
|
localStorage.setItem(i,data[i]);
|
||||||
|
@ -23421,7 +23421,7 @@
|
||||||
var noname_inited=localStorage.getItem('noname_inited');
|
var noname_inited=localStorage.getItem('noname_inited');
|
||||||
localStorage.clear();
|
localStorage.clear();
|
||||||
if(noname_inited){
|
if(noname_inited){
|
||||||
localStorage.setItem(noname_inited);
|
localStorage.setItem('noname_inited',noname_inited);
|
||||||
}
|
}
|
||||||
if(indexedDB) indexedDB.deleteDatabase(lib.configprefix+'data');
|
if(indexedDB) indexedDB.deleteDatabase(lib.configprefix+'data');
|
||||||
game.reload();
|
game.reload();
|
||||||
|
|
Loading…
Reference in New Issue