打印错误日志
This commit is contained in:
parent
6094c6ffed
commit
6b9e4c5b28
@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user