tienlen牌库随机索引错误

This commit is contained in:
sk 2024-05-07 16:18:17 +08:00
parent 54eed8a7fc
commit 48456483c7
1 changed files with 1 additions and 1 deletions

View File

@ -1274,7 +1274,7 @@ func (this *TienLenSceneData) SendHandCardOdds() {
case 1: // 牌库发牌
logger.Logger.Tracef("TienLen SendHandCardOdds 牌库")
//todo 牌库
random := rand.Intn(10000)
random := rand.Intn(10000) + 1
var cardsArr [][]int32
this.isCardsKu = true
this.cardsKuId = int32(random)