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) } } }