修正卡组没有正常初始化的bug
This commit is contained in:
parent
6e51f44245
commit
446f57cbac
@ -21,6 +21,7 @@ export class BeginGameCommand extends Command<CardGameState, {}> {
|
||||
//FixMe:: 移除
|
||||
// let card0 = gameUtil.initSampleCards(1)
|
||||
// this.state.cardQueue = card0;
|
||||
this.state.cardQueue = cardAll;
|
||||
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