v1.9.30.2
This commit is contained in:
parent
428d85b161
commit
b990852f33
32
game/game.js
32
game/game.js
|
@ -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));
|
||||
|
|
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue