This commit is contained in:
libccy 2017-05-23 20:54:08 +08:00
parent ab97cee718
commit 2875534603
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ window.noname_update={
// 'character/rank.js',
// 'mode/boss.js',
// 'mode/versus.js',
// 'mode/guozhan.js',
'mode/guozhan.js',
// 'mode/identity.js',
// 'mode/chess.js',
// 'mode/tafang.js',

View File

@ -930,7 +930,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
event.finish();
}
"step 2"
if(result.targets.length){
if(result.bool&&result.targets.length){
event.current.line(result.targets,'green');
player.discardPlayerCard(true,result.targets[0],'he');
}