Merge pull request #636 from universe-st/PR-Branch

五谷终止条件加入牌已经被拿完的判断,以适配部分技能。
This commit is contained in:
Spmario233 2023-11-14 23:09:36 +08:00 committed by GitHub
commit bc3f325eed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -768,7 +768,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
event.dialog=ui.dialogs[i];break;
}
}
if(!event.dialog){
if(!event.dialog || event.dialog.buttons.length == 0){
event.finish();
return;
}