This commit is contained in:
libccy 2017-11-24 01:58:45 +08:00
parent c2cadda2a0
commit ff34940e3f
2 changed files with 8 additions and 6 deletions

View File

@ -29074,17 +29074,17 @@
var players=null,cards=null;
if(lib.version!=lib.config.version){
for(var i=0;i<lib.changeLog.length;i++){
if(lib.changeLog[i].indexOf('players:')==0){
if(lib.changeLog[i].indexOf('players://')==0){
try{
players=JSON.parse(lib.changeLog[i].slice(8));
players=JSON.parse(lib.changeLog[i].slice(10));
}
catch(e){
players=null;
}
}
else if(lib.changeLog[i].indexOf('cards:')==0){
else if(lib.changeLog[i].indexOf('cards://')==0){
try{
cards=JSON.parse(lib.changeLog[i].slice(6));
cards=JSON.parse(lib.changeLog[i].slice(8));
}
catch(e){
cards=null;
@ -35264,7 +35264,9 @@
else{
str2=update.changeLog[0];
for(var i=1;i<update.changeLog.length;i++){
str2+=''+update.changeLog[i];
if(update.changeLog[i].indexOf('://')==-1){
str2+=''+update.changeLog[i];
}
}
}
navigator.notification.confirm(

View File

@ -5,7 +5,7 @@ window.noname_update={
'bug修复',
'自定义AI禁选武将资料->禁用)',
'部分DIY比赛武将',
'players:["ns_caocao","ns_caocaosp","ns_zhugeliang","ns_wangyue","ns_yuji","ns_xinxianying","ns_guanlu","ns_simazhao","ns_sunjian","hs_aiqinvyao"]',
'players://["ns_caocao","ns_caocaosp","ns_zhugeliang","ns_wangyue","ns_yuji","ns_xinxianying","ns_guanlu","ns_simazhao","ns_sunjian","hs_aiqinvyao"]',
],
files:[
'game/game.js',