tienlen牌库随机索引错误
This commit is contained in:
parent
54eed8a7fc
commit
48456483c7
|
|
@ -1274,7 +1274,7 @@ func (this *TienLenSceneData) SendHandCardOdds() {
|
||||||
case 1: // 牌库发牌
|
case 1: // 牌库发牌
|
||||||
logger.Logger.Tracef("TienLen SendHandCardOdds 牌库")
|
logger.Logger.Tracef("TienLen SendHandCardOdds 牌库")
|
||||||
//todo 牌库
|
//todo 牌库
|
||||||
random := rand.Intn(10000)
|
random := rand.Intn(10000) + 1
|
||||||
var cardsArr [][]int32
|
var cardsArr [][]int32
|
||||||
this.isCardsKu = true
|
this.isCardsKu = true
|
||||||
this.cardsKuId = int32(random)
|
this.cardsKuId = int32(random)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue