diff --git a/game/game.js b/game/game.js index 6cc2db042..5c6b8e228 100644 --- a/game/game.js +++ b/game/game.js @@ -53357,14 +53357,19 @@ }, player:(position,noclick)=>new lib.element.Player(position,noclick), connectPlayers:ip=>{ - ui.updateConnectPlayerPositions(); game.connectPlayers=[]; - const numberOfPlayers=lib.configOL.number; + let numberOfPlayers=lib.configOL.number; + const gameMode=lib.configOL.mode; + if(gameMode=='guozhan'||(gameMode=='identity'&&(lib.configOL.identity_mode!='zhong'&&lib.configOL.identity_mode!='purple'))){ + numberOfPlayers=10; + } + ui.updateConnectPlayerPositions(numberOfPlayers); for(let position=0;position=lib.configOL.number) player.classList.add('unselectable2'); } var bar=ui.create.div(ui.window);