比大小回合结束时, 情况tempActionMap

This commit is contained in:
zhl 2021-03-30 16:50:55 +08:00
parent 7c18cf8454
commit be5706b564

View File

@ -9,6 +9,7 @@ export class DiceNextTurnCommand extends Command<CardGameState, {}> {
this.state.round = 0
}
this.state.round += 1
this.state.tmpActionMap.clear()
this.state.updateGameState(GameStateConst.STATE_DICE_TURN)
for (let [,player] of this.state.players) {
player.cardQueue.clear()