From 0d2c090dc8f147aa8ba96b6214ccc248e2cde782 Mon Sep 17 00:00:00 2001 From: by <123456@qq.com> Date: Thu, 24 Oct 2024 11:33:03 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9A=8F=E6=9C=BA=E6=AC=A1=E6=95=B0=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gamesrv/tienlen/scenedata_tienlen.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/gamesrv/tienlen/scenedata_tienlen.go b/gamesrv/tienlen/scenedata_tienlen.go index a8af25e..868fe1e 100644 --- a/gamesrv/tienlen/scenedata_tienlen.go +++ b/gamesrv/tienlen/scenedata_tienlen.go @@ -563,10 +563,7 @@ func (this *TienLenSceneData) RandomCards() { for i := 0; i < rule.POKER_CNT; i++ { allCards = append(allCards, int32(i)) } - for i := 0; i < 5; i++ { - shuffleInts(allCards) - } - fmt.Println("打乱后的切片:", allCards) + shuffleInts(allCards) cardss := map[int][]int32{} for i, card := range allCards { if card != rule.InvalideCard {