From 6b9e4c5b2845aa3ec058ca11fd7fd637adce70cf Mon Sep 17 00:00:00 2001 From: meixiongfeng <766881921@qq.com> Date: Thu, 30 Nov 2023 18:46:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=8D=B0=E9=94=99=E8=AF=AF=E6=97=A5?= =?UTF-8?q?=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/entertainment/xxlPlat.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/entertainment/xxlPlat.go b/modules/entertainment/xxlPlat.go index 87010a403..49fe05b03 100644 --- a/modules/entertainment/xxlPlat.go +++ b/modules/entertainment/xxlPlat.go @@ -542,7 +542,6 @@ func (this *MapData) DropGirde() bool { for m := j + add; m < Height; m++ { k1 := i*Width + m fill = append(fill, k1) - //this.Plat[k1] = this.CreateGride(true) } break } @@ -587,7 +586,6 @@ func (this *MapData) DropGirde() bool { for i := 0; i < ilen; i++ { n1, _ := rand.Int(rand.Reader, big.NewInt(int64(len(fill)))) mp[fill[n1.Int64()]] = struct{}{} - } for key := range mp { @@ -601,6 +599,8 @@ func (this *MapData) DropGirde() bool { this.Plat[key].Cid = conf.Key this.Plat[key].Special = conf.Type this.Plat[key].Score = conf.Score + } else { // 错误打印 + this.module.Errorf("cond conf err :%v,color:%d", err, this.Plat[key].Color) } } }