修正玩家初始卡片错误的bug
This commit is contained in:
parent
e0b300c064
commit
a218a253d8
@ -20,7 +20,7 @@ export class BeginGameCommand extends Command<CardGameState, {}> {
|
||||
let cardAll = card0.concat(card1);
|
||||
cardAll.randomSort();
|
||||
this.state.cardQueue = cardAll;
|
||||
let i = 1;
|
||||
let i = 0;
|
||||
for (let [id] of this.state.players) {
|
||||
this.room.addCard(id, new GameEnv().playerInitNums[i++], 0);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user