v1.9.30.2

This commit is contained in:
libccy 2017-06-03 19:28:49 +08:00
parent 428d85b161
commit b990852f33
2 changed files with 22 additions and 16 deletions

View File

@ -26976,23 +26976,29 @@
}
else{
if(key){
if(value==undefined){
if(mode==lib.config.mode) delete lib.storage[key];
}
else{
if(mode==lib.config.mode) lib.storage[key]=value;
}
game.getDB('data',mode,function(config){
if(!config) config={};
if(mode==lib.config.mode){
if(value==undefined){
delete config[key];
delete lib.storage[key];
}
else{
config[key]=value;
lib.storage[key]=value;
}
config.version=lib.version;
game.putDB('data',mode,config);
});
lib.storage.version=lib.version;
game.putDB('data',mode,lib.storage);
}
else{
game.getDB('data',mode,function(config){
if(!config) config={};
if(value==undefined){
delete config[key];
}
else{
config[key]=value;
}
config.version=lib.version;
game.putDB('data',mode,config);
});
}
}
else{
game.putDB('data',mode,get.copy(lib.storage));

View File

@ -1,11 +1,11 @@
window.noname_update={
version:'1.9.30.1',
// update:'1.9.29',
version:'1.9.30.2',
update:'1.9.30',
changeLog:[
'bug修复',
],
files:[
// 'game/game.js',
'game/game.js',
// 'game/package.js',
// 'game/config.js',
// 'game/source.js',