This commit is contained in:
libccy 2016-04-09 18:47:54 +08:00
parent 5005ecf03e
commit 4494f2d3ce
2 changed files with 3 additions and 2 deletions

View File

@ -2031,7 +2031,8 @@ character.yxs={
return 6-ai.get.value(card); return 6-ai.get.value(card);
}, },
filterCard:function(card){ filterCard:function(card){
return !lib.card[card.name].image; var info=lib.card[card.name].image;
return !info.image&&!info.fullimage;
}, },
discard:false, discard:false,
lose:false, lose:false,

View File

@ -20570,7 +20570,7 @@
}); });
}; };
for(var i=0;i<updates.length;i++){ for(var i=0;i<updates.length;i++){
if(lib.node){ if(lib.node&&lib.node.fs){
lib.node.fs.access(__dirname+'/'+updates[i],(function(entry){ lib.node.fs.access(__dirname+'/'+updates[i],(function(entry){
return function(err){ return function(err){
if(err){ if(err){