v1.9.90(part1)

This commit is contained in:
Spmario233 2019-07-17 16:24:08 +08:00 committed by GitHub
parent b3769c3eb0
commit 56a8058380
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -612,6 +612,10 @@ game.import('card',function(lib,game,ui,get,ai,_status){
event.remained.push(dialog.buttons[i].link);
}
event.trigger('wuguRemained');
for(var i=0;i<event.remained.length;i++){
var current=event.remained[i];
if(!get.owner(current)) current.discard();
}
}
break;
}