From e8d40355ff4e27e1b6572b8bced066c28b7be697 Mon Sep 17 00:00:00 2001 From: Spmario233 Date: Mon, 31 Jul 2023 09:28:46 +0800 Subject: [PATCH] includeOut for player filtering --- game/game.js | 34 +++++++++++++++++----------------- mode/boss.js | 2 +- mode/doudizhu.js | 2 +- mode/identity.js | 8 ++++---- 4 files changed, 23 insertions(+), 23 deletions(-) diff --git a/game/game.js b/game/game.js index 7f0c506ef..b2edf7ae4 100644 --- a/game/game.js +++ b/game/game.js @@ -27295,7 +27295,7 @@ } } if(!start) return; - if(!game.players.contains(start)){ + if(!game.players.contains(start)&&!game.dead.contains(start)){ start=game.findNext(start); } var list=[]; @@ -38173,28 +38173,28 @@ } } }, - hasPlayer:function(func){ + hasPlayer:function(func,includeOut){ for(var i=0;i