This commit is contained in:
libccy 2016-03-28 12:52:29 +08:00
parent e6e779bd9b
commit 87f55feb01
1 changed files with 4 additions and 4 deletions

View File

@ -13,7 +13,7 @@
var noname_inited=localStorage.getItem('noname_inited');
localStorage.clear();
if(noname_inited){
localStorage.setItem(noname_inited);
localStorage.setItem('noname_inited',noname_inited);
}
if(indexedDB) indexedDB.deleteDatabase('noname_0.9_data');
window.location.reload();
@ -1485,7 +1485,7 @@
var noname_inited=localStorage.getItem('noname_inited');
localStorage.clear();
if(noname_inited){
localStorage.setItem(noname_inited);
localStorage.setItem('noname_inited',noname_inited);
}
game.reload();
return;
@ -15900,7 +15900,7 @@
var noname_inited=localStorage.getItem('noname_inited');
localStorage.clear();
if(noname_inited){
localStorage.setItem(noname_inited);
localStorage.setItem('noname_inited',noname_inited);
}
for(var i in data){
localStorage.setItem(i,data[i]);
@ -23421,7 +23421,7 @@
var noname_inited=localStorage.getItem('noname_inited');
localStorage.clear();
if(noname_inited){
localStorage.setItem(noname_inited);
localStorage.setItem('noname_inited',noname_inited);
}
if(indexedDB) indexedDB.deleteDatabase(lib.configprefix+'data');
game.reload();