diff --git a/game/game.js b/game/game.js index 8d416413b..cb3d03c1d 100644 --- a/game/game.js +++ b/game/game.js @@ -38784,15 +38784,7 @@ if(typeof func!='function') func=lib.filter.all; return list.addArray(game.players.concat(game.dead).filter(value=>(includeOut||!value.isOut())&&func(value))); }, - findPlayer:function(func,includeOut){ - for(var i=0;igame.players.find(value=>(includeOut||!value.isOut())&&func(value))||null, findPlayer2:(func,includeOut)=>game.players.concat(game.dead).find(value=>(includeOut||!value.isOut())&&func(value))||null, findCards:(func,all)=>Object.keys(lib.card).filter(value=>{ if(!lib.translate[`${value}_info`]) return false;